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

[Solved] Use Grid/Editing with external form if postback

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 19 Nov 2009, 11:55 PM
Hi,

I use Grid control to popup my web form containing  a dropdown list. When the dropdown list posts back, the value selected in the dropdown is lost. I found out that such postback actually takes the whole page posting back.

I look around and see the new feature "Grid/Editing with external form". If I add a dropdown in the EXTERNAL FORM with postback, can this form keeps my selected value after postback?

 Link: http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/dynamicajaxsettings/defaultcs.aspx?product=grid

If you have any other better solution, let me know. Thanks.

Frank.



1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 25 Nov 2009, 09:47 AM
Hi Frank,

Since the form is a separate control, its state and value will be properly persisted, if a postback is initiated by the grid. In the example which you mentioned, if you open the edit form, enter a value, and then sort the grid, the value entered in the edit form will be preserved.
I hope this information helps.

All the best,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Frank
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or