Hi,
I created a custom server control, compiled as a DLL (it's a composite
server control).
In my apsx page, I use something like :
<MyAssembly:MyObject properties>
<asp:datagrid />
</MyAssembly:MyObject>
Basically, everything works except when I post back the page from the
datagrid (to edit the content for example), the datagrid disappears. I
know this is due to state management : upon post back, as it is not
handled in my custom control, the state of the datagrid is lost, so it
is empty.
My question is, how do I preserve states of an embedded control in a
custom control upon post back?
Any help would be appreciated.
Julien