A
acher
Hi there.
I'moving from Java to .NET and going through the learning curve. Here
is the problem. My Web grid has three bands. I add a row to the last
grid via JScript, you know using igtbl_addNew. The row is added and
then control goes to the _AddRow method which automatically populates
the columns of the new row. Once the page posts bac, all of the rows
that have been expanded are now collapsed.
I implemented LoadPageStateFromPersistenceMedium()
doing:
LosFormatter formatter = new LosFormatter();
object sessionViewState = Session["pageView"];
viewState = formatter.Deserialize(sessionViewState.ToString());
return viewState;
and
SavePageStateToPersistenceMedium(object viewState)
doing
LosFormatter formatter = new LosFormatter();
object sessionViewState = Session["pageView"];
viewState = formatter.Deserialize(sessionViewState.ToString());
formatter.Serialize(writer,viewState);
Session["pageView"] = writer.ToString();
I set all possible values on the grid to ViewState=true etc. The page
is still coming back from the post with a collapsed rows.
Please help
I'moving from Java to .NET and going through the learning curve. Here
is the problem. My Web grid has three bands. I add a row to the last
grid via JScript, you know using igtbl_addNew. The row is added and
then control goes to the _AddRow method which automatically populates
the columns of the new row. Once the page posts bac, all of the rows
that have been expanded are now collapsed.
I implemented LoadPageStateFromPersistenceMedium()
doing:
LosFormatter formatter = new LosFormatter();
object sessionViewState = Session["pageView"];
viewState = formatter.Deserialize(sessionViewState.ToString());
return viewState;
and
SavePageStateToPersistenceMedium(object viewState)
doing
LosFormatter formatter = new LosFormatter();
object sessionViewState = Session["pageView"];
viewState = formatter.Deserialize(sessionViewState.ToString());
formatter.Serialize(writer,viewState);
Session["pageView"] = writer.ToString();
I set all possible values on the grid to ViewState=true etc. The page
is still coming back from the post with a collapsed rows.
Please help