Issue in applying themes to Webparts in ASP.net 2.0

Discussion in 'ASP .Net' started by =?Utf-8?B?QXNob2s=?=, Apr 20, 2006.

  1. Hi
    I have some issues in applying Themes to controls programatically, when
    controls are inside WebpartZone.

    I have put some Webparts inside WebpartZone, i want to apply themes and skin
    to those programatically.

    When i am trying to set the SkinId for the controls in Page_PreInit( ... )
    event
    , it's showing Null point reference.

    Can somebody help me on this.
     
    =?Utf-8?B?QXNob2s=?=, Apr 20, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?QXNob2s=?=

    clintonG Guest

    Show the line of code you are using to reference the control.

    <%= Clinton Gallagher
    NET csgallagher AT metromilwaukee.com
    URL http://clintongallagher.metromilwaukee.com/



    "Ashok" <> wrote in message
    news:...
    > Hi
    > I have some issues in applying Themes to controls programatically, when
    > controls are inside WebpartZone.
    >
    > I have put some Webparts inside WebpartZone, i want to apply themes and
    > skin
    > to those programatically.
    >
    > When i am trying to set the SkinId for the controls in Page_PreInit(
    > ... )
    > event
    > , it's showing Null point reference.
    >
    > Can somebody help me on this.
     
    clintonG, Apr 20, 2006
    #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. Robert Weatherford

    Re: Applying Frontpage 2003 themes to ASP.NEt Pages

    Robert Weatherford, Jun 12, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    380
    Robert Weatherford
    Jun 12, 2004
  2. VB Programmer

    Webparts - in asp.net 1.1?

    VB Programmer, Oct 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,343
    chanmmn
    Oct 23, 2004
  3. ALI-R

    ASP.Net Framework2 and webparts

    ALI-R, Mar 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    389
    Brock Allen
    Mar 16, 2005
  4. =?Utf-8?B?Q2hyaXN0b3BoZXIgS2ltYmVsbA==?=

    Theming custom created WebParts in ASP.NET 2.0

    =?Utf-8?B?Q2hyaXN0b3BoZXIgS2ltYmVsbA==?=, Jun 24, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    3,293
    Steven Cheng[MSFT]
    Jun 30, 2005
  5. Shimon Sim

    Applying themes to html

    Shimon Sim, Mar 21, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    447
    Steven Cheng[MSFT]
    Mar 22, 2006
Loading...

Share This Page