Dinamic StyleSheet reference

Discussion in 'ASP .Net Web Controls' started by José Salazar, Mar 14, 2005.

  1. Hi everyone,

    Is possible write a dynamic reference to a style sheet in an ASP.NET Page?

    Thanks
    José Salazar, Mar 14, 2005
    #1
    1. Advertising

  2. José Salazar

    Dave Friedel Guest

    Yes,

    Set the Link with an ID - in code-behind reference it and set the
    attributes accordingly.

    Protected WithEvents pdCSS As System.Web.UI.HtmlControls.HtmlGenericControl

    regards,
    Dave

    "José Salazar" <> wrote in message
    news:...
    > Hi everyone,
    >
    > Is possible write a dynamic reference to a style sheet in an ASP.NET Page?
    >
    > Thanks
    >
    >
    Dave Friedel, Mar 14, 2005
    #2
    1. Advertising

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:
    574
    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=
    Jul 4, 2004
  2. Steven An
    Replies:
    1
    Views:
    498
    Martin Honnen
    Nov 23, 2004
  3. David Blickstein
    Replies:
    3
    Views:
    1,036
    David Blickstein
    Aug 2, 2005
  4. David Blickstein
    Replies:
    14
    Views:
    6,325
    Harrie
    Oct 16, 2005
  5. Morgan
    Replies:
    7
    Views:
    453
    CBFalconer
    Feb 7, 2004
Loading...

Share This Page