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

Postback on legacy asp.net controls causes grid to lose all data

2 Answers 7 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shea
Top achievements
Rank 1
Shea asked on 21 Mar 2013, 02:06 AM
I have implemented a Kendo grid in a legacy asp.net web forms project. The datasource for the grid uses the transport mechanism to pull json from the server.

I have implemented the grid in a .ascx control, and it is embedded in a form/page  which has 3 asp.net controls that do postbacks, a drop downlist, and two TextBox's. The two text boxes are in the same div and update panel, the only difference is their ID.

One of the Textbox's causes the grid to lose all it's data, when it does it's TextChanged Postback. The other does not. Very weird behavior.

Any thoughts on what would cause this to happen?

Thanks,
~S

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 22 Mar 2013, 03:45 PM
Hi,

Could you share the code you are using so I can check the exact setup?

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
Shea
Top achievements
Rank 1
answered on 26 Apr 2013, 06:53 PM
The solution was to register all the postback controls with a AsyncPostBackTrigger.
Tags
Grid
Asked by
Shea
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Shea
Top achievements
Rank 1
Share this question
or