O
ogonicle
Hello everybody,
Do you know how sharepoint handle viewstate ?
because when i load an user control into my webpart, It seems that it's not
possible to add events on the controls, because they are not persistant!
Do you know how i can tell to sharepoint that those controls has to be
persistant ?
I'm using this to load the control
Public mobjCtl As UserControl
dim ControlVPath as string
mobjCtl = Page.LoadControl(ControlVPath)
Me.Controls.Add(mobjCtl )
I also tried with dbauer place holder, but it seems that they are not keep
in the viewstate!!
Thank you for your help
Yoni
Do you know how sharepoint handle viewstate ?
because when i load an user control into my webpart, It seems that it's not
possible to add events on the controls, because they are not persistant!
Do you know how i can tell to sharepoint that those controls has to be
persistant ?
I'm using this to load the control
Public mobjCtl As UserControl
dim ControlVPath as string
mobjCtl = Page.LoadControl(ControlVPath)
Me.Controls.Add(mobjCtl )
I also tried with dbauer place holder, but it seems that they are not keep
in the viewstate!!
Thank you for your help
Yoni