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).
|