B
Bugge
I have written a custom control. Everything works fine until I place
my control inside a repeater. When I do that the viewstate of my
control is lost on postback(actually it is never saved). LoadViewState
og SaveViewState is never called.
If i manually call SaveViewState in my LoadPostData-method the
ViewState is allready lost in the OnPreRender-method
I really need some help, I spent days debugging this control
I might say that as long as I do not place my control inside a
repeater/datalist etc. ViewState and everything of my control works
fine.
Brian Bugge - Denmark
my control inside a repeater. When I do that the viewstate of my
control is lost on postback(actually it is never saved). LoadViewState
og SaveViewState is never called.
If i manually call SaveViewState in my LoadPostData-method the
ViewState is allready lost in the OnPreRender-method
I really need some help, I spent days debugging this control
I might say that as long as I do not place my control inside a
repeater/datalist etc. ViewState and everything of my control works
fine.
Brian Bugge - Denmark