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

Grid Column Resize retain

3 Answers 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 13 Dec 2011, 06:59 AM
is it possible to retain the resize column width of telerik gridview after the page is refreshed

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 Dec 2011, 07:10 AM
Hello Ali,

If the ViewState is enabled this will be done automatically. Check the following demo which implements the same.
Grid / Column/Row Resize/Reorder

-Shinu.
0
Ali
Top achievements
Rank 1
answered on 13 Dec 2011, 10:12 AM
My ViewState is enabled but still it is nt working...
0
Marin
Telerik team
answered on 14 Dec 2011, 09:06 AM
Hello Ali,

 As Shinu pointed out the width of the resized columns is automatically persisted in the client state of the control and thus retained after postback. If this does not happen in your case you should check whether there are any javascript errors on the page or some other settings or code that changes the width of the columns on postback.

Greetings,
Marin
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Ali
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ali
Top achievements
Rank 1
Marin
Telerik team
Share this question
or