Dynamic Controls in Multiple Assemblies

Discussion in 'ASP .Net Web Controls' started by Scott Nichols, Apr 12, 2004.

  1. Hi,

    I just can't quite figure this out although I see it posted all over
    the newsgroup....

    I am dynamically adding a panel to a web form. The dynamic panel
    contains webcontrols. I want the dynamic panel conataining the
    webcontrols to persist in the page's viewstate.

    I have overridden the loadviewstate and saveviewstate methods, but the
    problem seems to be that the dynamic panel itself does not have a
    viewstate. Do I need to manually create the view state for the dynamic
    panel?

    I'm I explaining this problem well enouogh for someone to give me some
    pointers?

    Thanks,

    Scott
    Scott Nichols, Apr 12, 2004
    #1
    1. Advertising

  2. Scott Nichols

    intrader Guest

    Scott Nichols wrote:

    > Hi,
    >
    > I just can't quite figure this out although I see it posted all over
    > the newsgroup....
    >
    > I am dynamically adding a panel to a web form. The dynamic panel
    > contains webcontrols. I want the dynamic panel conataining the
    > webcontrols to persist in the page's viewstate.
    >
    > I have overridden the loadviewstate and saveviewstate methods, but the
    > problem seems to be that the dynamic panel itself does not have a
    > viewstate. Do I need to manually create the view state for the dynamic
    > panel?
    >
    > I'm I explaining this problem well enouogh for someone to give me some
    > pointers?
    >
    > Thanks,
    >
    > Scott

    Please, do me a favor, can you let me know when you get a response to this?.
    I suspect that you need to implement the ViewState for the Panel (it does
    not do so on its own - it is a Windows.Forms thing).
    intrader, Apr 14, 2004
    #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. Barry Kelly
    Replies:
    4
    Views:
    4,680
    Barry Kelly
    Dec 7, 2004
  2. Spam Catcher

    Dynamic Loading of Private Assemblies?

    Spam Catcher, Dec 9, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    456
    Paul Gielens
    Dec 9, 2005
  3. Ronald
    Replies:
    2
    Views:
    823
    Robbe Morris [C# MVP]
    Jan 17, 2006
  4. Scott Nichols

    LoadViewState with Dynamic Assemblies

    Scott Nichols, Apr 14, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    96
    Scott Nichols
    Apr 14, 2004
  5. Denny Smolinski via .NET 247

    Dynamic Controls, Placeholder, Retrieve Information from Dynamic Controls

    Denny Smolinski via .NET 247, May 4, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    454
    Eidolon
    May 4, 2004
Loading...

Share This Page