Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Dynamic Controls in Multiple Assemblies

Reply
Thread Tools

Dynamic Controls in Multiple Assemblies

 
 
Scott Nichols
Guest
Posts: n/a
 
      04-12-2004
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
 
Reply With Quote
 
 
 
 
intrader
Guest
Posts: n/a
 
      04-14-2004
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).
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Controls created by Dynamic Controls Ronald ASP .Net 2 01-17-2006 12:44 AM
Dynamic Loading of Private Assemblies? Spam Catcher ASP .Net 1 12-09-2005 08:36 PM
Shadow-copied assemblies and dynamic assembly loading Barry Kelly ASP .Net 4 12-07-2004 10:32 AM
Dynamic Controls, Placeholder, Retrieve Information from Dynamic Controls Denny Smolinski via .NET 247 ASP .Net Web Controls 1 05-04-2004 09:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57