How to fetch style information from StyleSheet?

Discussion in 'ASP .Net Mobile' started by Jamie, Jan 9, 2007.

  1. Jamie

    Jamie Guest

    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?
     
    Jamie, Jan 9, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=

    Stylesheet referanse i stylesheet

    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=, Jul 3, 2004, in forum: XML
    Replies:
    3
    Views:
    808
    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=
    Jul 4, 2004
  2. Steven An
    Replies:
    1
    Views:
    705
    Martin Honnen
    Nov 23, 2004
  3. David Blickstein
    Replies:
    3
    Views:
    1,268
    David Blickstein
    Aug 2, 2005
  4. Jamie
    Replies:
    0
    Views:
    457
    Jamie
    Jan 9, 2007
  5. Jamie
    Replies:
    0
    Views:
    427
    Jamie
    Jan 10, 2007
  6. Jamie

    How to fetch style information from mobile StyleSheet?

    Jamie, Jan 10, 2007, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    295
    Jamie
    Jan 10, 2007
  7. Jamie
    Replies:
    0
    Views:
    808
    Jamie
    Jan 10, 2007
  8. Jamie
    Replies:
    0
    Views:
    240
    Jamie
    Jan 10, 2007
Loading...