Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
Ajax Sorting
posted

Hi There,

Whats the best approach to implement sorting in WebDatagrid ,The grid is bind through code behind and also its rebinds based on user selection.

And also want to have sorting default to a specific column on initial load.(Tried with adding the default column to  ".Behaviors.Sorting.SortedColumns.Add" on initial load, not worked.)

Here is the Grid definition

Behaviour->Sorting->Enabled =True

EnableAjax=True,

EnableDataViewState=true,

ColumnSorted handled to rebind the data,but getting Server Not responding error.

If I set EnableAjax=False the ColumnSorted event works without error and sorts grid ,but the whole page refreshes and but default sorting fails.

I want to avoid the whole page refresh.

Thanks ...

Parents Reply Children