TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


Forums >


How to fetch style information from StyleSheet?


1/9/2007 1:58:00 PM

I have some code, in an adapter, that attempts to fetch the style
information for each control on a mobile form. I believe the first few
steps are successful... evaluate StyleReference to get the style name
and fetch StyleSheet object in the page. But, when the code loops
through the Styles in the StyleSheet to try to find one with the name
that was in the StyleReference, there seem to be no values in the
various style properties, such as Name.

So, does anyone know how to get programmatic access to a style that is
named in a control's StyleReference property?