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

Prevent Postback on Sorting and Filtering

1 Answer 371 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anand
Top achievements
Rank 1
Anand asked on 29 Aug 2014, 12:50 PM
First time I have bind the Grid with datasource & my EnableViewState=true then after when I apply sorting and Filtering then postback occure so, Please gives me a solution to prevent the postback when apply sorting and filtering on grid.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 03 Sep 2014, 11:26 AM
Hi Anand,

These operations usually require postbacks to fetch the sorted/filtered data from the server, this is how server-side data bound controls work. With this in mind, I can offer two suggestions:
- use client-side binding: http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/client-data-source-binding/defaultcs.aspx.
- OR, use AJAX to benefit from partial page rendering. The easiest way to do this is to wrap the RadGrid in a RadAjaxPanel control.

You can find more details on the matter in the support ticket you had opened with the same question and that was answered by my colleague two days ago.

On a side note - I would advise posting in the most relevant forum in order for your question to reach the most relevant audience. In this case you would have needed the RadGrid for ASP.NET AJAX Forum (http://www.telerik.com/forums/aspnet-ajax/grid) and not the Telerik Platform forum. Another suggestion that can help you get better results is running a search for your question first, because most of the similar getting started questions have already been asked and have answers readily available.


Regards,
Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Anand
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or