Persisting Telerik RadGrid grouping UI after postback

I have recently run into a problem where after utilizing the grouping functionality along with the RadAjaxManager my RadGrid grouping UI state was disappearing after rebinding data.

This is undesirable for a number of reasons but mainly because it is unclear to the end user if an edit performed to an entry in the grid has been successfully achieved. Not to mention frustrating to have to open the group again to verify.

After much searching to see if the RadGrid supported such functionality or not I was extremely confused with some forums and posts saying this functionality was built into the grid and others suggesting it was impossible to do.

Anyway, in the end I was unable to find a built in way to perform this and resorted to the hack demonstrated here.

Pity Telerik doesn’t appear to have built this functionality straight in.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s