J
Jim
I have derived of DataGrid to give functionality of an expandable dataGrid
(similar to article in October2003 MSDN). I have override the LoadStateView
and SaveStateView to save the extra properties I have added to the derived
class.
It works perfectly fine at expanding and collapse the row that was clicked
on, it displays a web user control (*.ascx) correctly. When the refresh
button is pressed(F5) it refreshes correctly with the expanded row still
expanded and the web user control is displayed.
BUT
the problem is when I click on something inside the web user control
displayed in the expanded dataGrid row the action works fine BUT when the
main page refreshes and the datagrid is redrawn the web user control is not
displayed anymore....
So the question is if I display a web user control in a datagrid by
overriding the 'OnItemCreated' method do I have to do anything specifically
to save the State of the web user control?
If not does anyone no a solution to the problem?
Hope this makes sense....
Cheers
Earth Worm Jim
(similar to article in October2003 MSDN). I have override the LoadStateView
and SaveStateView to save the extra properties I have added to the derived
class.
It works perfectly fine at expanding and collapse the row that was clicked
on, it displays a web user control (*.ascx) correctly. When the refresh
button is pressed(F5) it refreshes correctly with the expanded row still
expanded and the web user control is displayed.
BUT
the problem is when I click on something inside the web user control
displayed in the expanded dataGrid row the action works fine BUT when the
main page refreshes and the datagrid is redrawn the web user control is not
displayed anymore....
So the question is if I display a web user control in a datagrid by
overriding the 'OnItemCreated' method do I have to do anything specifically
to save the State of the web user control?
If not does anyone no a solution to the problem?
Hope this makes sense....
Cheers
Earth Worm Jim