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

Trigger grid state save when column modified

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Avery
Top achievements
Rank 1
Avery asked on 12 Jan 2011, 11:07 PM
Hello,  

I have successfully implemented the GridSettingsPersister for the grid control on a save button click event.  Now I would like to take it a step further and automatically save the layout of the grid when the user makes a change to his/her grid (ie: move a column, sort, change width etc...).  What event would I use to trigger the save?

I would like it to be seamless to the user, no clicking of a save button necessary.

Thank you very much for the help!

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 17 Jan 2011, 04:01 PM
Hello Avery,

You can try handling the ItemCommand event for your purpose. It is fired when any command is performed in the grid, like sorting, paging, etc.
Check it out and let me know if further questions arise.

Regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Avery
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or