Hi,
i have a page which contains a LoadOnDemand MultiPageView, which would load a list of usercontrol on demand (as seen on one of the samples). within one of these control is a RadGrid, which has popUp Edit Mode, and using WebControls of my own.
the problem is, when ever any event (a post back) in invoked in the popup screen, it would first reload all the existing usercontrol, and then continue with RadGrid ItemCommand. Once all the, events has succesfully been invoked, whatever value that has been inserted on to the popup usercontrols is lost, as if its a new popup usercontrol.
Example:
1) user select tab 1 -> Postback -> Load UserControl1 (contain RadGrid1) On demand.
2) user click Add new Record on RadGrid -> Postback -> Display PopupEdit (hosting the usercontrol generated)
3) user fill in value onto text field (excluding a few vital fields) -> Postback -> (Value can still be seen) -> <Insert Process but not close popup) -> Complete -> Value that has been fill up by user is not displayed ontop the current popup**.
** the problem.
However, if we did not use load on demand, but append the grid onto a multipageview on design time, it works just fine.
help will be much appreciated.
Thanks,
Eng.
i have a page which contains a LoadOnDemand MultiPageView, which would load a list of usercontrol on demand (as seen on one of the samples). within one of these control is a RadGrid, which has popUp Edit Mode, and using WebControls of my own.
the problem is, when ever any event (a post back) in invoked in the popup screen, it would first reload all the existing usercontrol, and then continue with RadGrid ItemCommand. Once all the, events has succesfully been invoked, whatever value that has been inserted on to the popup usercontrols is lost, as if its a new popup usercontrol.
Example:
1) user select tab 1 -> Postback -> Load UserControl1 (contain RadGrid1) On demand.
2) user click Add new Record on RadGrid -> Postback -> Display PopupEdit (hosting the usercontrol generated)
3) user fill in value onto text field (excluding a few vital fields) -> Postback -> (Value can still be seen) -> <Insert Process but not close popup) -> Complete -> Value that has been fill up by user is not displayed ontop the current popup**.
** the problem.
However, if we did not use load on demand, but append the grid onto a multipageview on design time, it works just fine.
help will be much appreciated.
Thanks,
Eng.