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

[Solved] Programmatic Grid Postback Issue

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stuart Ferguson
Top achievements
Rank 1
Stuart Ferguson asked on 17 Dec 2009, 10:12 AM

I have created an inherited version of the Telerik RadGrid to process programmatic column configuration and build the grid from this.
The grid itself has a column which is templated and contains a link button with the CommandName set to "Select", this is used to fire the SelectedIndexChange event, on which the application redirects the user to another page in the application.  This inherited Grid seems to be working fine in all scenarios apart from 1 I have identified.

If the user clicks on a link in the grid they are redirected to a new page, however if they click the Browser back button and click a different link (to go to a different page) the SelectedIndexChanged event is not fired, neither is the LinkButtons click event, the application just posts back to the currently displayed page.

The inherited control is performing all the processing of the column building in an overridden OnInit event if that has any impact on the issue im not sure.

Any help would be most appreciated.

Regards,

Stuart

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 19 Dec 2009, 03:16 PM
Hi Stuart,

Could you please specify if the grid is ajaxified and see if it works properly when ajax is disabled?
Check it out and let me know of the result.

Sincerely yours,
Iana
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
Stuart Ferguson
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or