This is a migrated thread and some comments may be shown as answers.

Losing popup edit form value. (MultiPage>Usercontrol>RadGrid>Popup)

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adrian Eng Ying Ming
Top achievements
Rank 1
Adrian Eng Ying Ming asked on 23 Jun 2010, 12:41 AM
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.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 28 Jun 2010, 12:21 PM
Hi Adrian,

Please refer to our TabStrip / Load on Demand RadPageView example that shows a similar functionality and let me know if it helps.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Adrian Eng Ying Ming
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or