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

[Solved] Grid with ContextMenu, issue on filtering

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Exakis
Top achievements
Rank 1
Exakis asked on 10 Jan 2012, 03:32 PM
Hi,
I have an issue on my grid using binding on server side.
If I set some colums to disable on load, and then activate them threw the context menu, they will be disabled again on the grid refresh. 

For instance, when I activate a enable and then chose to filter the grid, the grid is refreshed and recover its initial state.

Is there any solution to this isue without using binding on the client side?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 12 Jan 2012, 10:15 AM
Hello Exakis,

In a server binding mode I would suggest to use a cookie to persist the changes made to the column context menu. So when you change some of the checkboxes you update the cookie this way back in the controller you will be able to display and hide the columns according to the cookie sent by the client.


Kind regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Exakis
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or