StyleSheetTheme Property in a Web User Control

Discussion in 'ASP .Net' started by Guest, Jun 25, 2007.

  1. Guest

    Guest Guest

    Hi. I'm trying to programatically set a StyleSheetTheme for a web user
    control. I understand that in order to use the Page.StyleSheetTheme property
    I must override the base class property.

    But since I'm doing this in a user control I'm getting the error: "property
    'StyleSheetTheme' cannot be declared overrides because it does not override a
    property in the base class".

    I think this is because the web user control is inherits
    System.Web.UI.UserControl instead of System.Web.UI.Page, is that correct?

    Can I set a stylesheettheme property programatically for my web user control?

    Thanks!
     
    Guest, Jun 25, 2007
    #1
    1. Advertisements

  2. Guest

    Masudur Guest

    hi..
    you can use different skin id and assign programatically
    thanks
     
    Masudur, Jun 25, 2007
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.