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

View State Error In Grids Having Column style as Drop Down

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pradeep
Top achievements
Rank 1
Pradeep asked on 16 Aug 2012, 05:30 AM
We are facing problem of View state error in the grid with dropdown column type (Please refer the attached image).
Strangely  this is happening only to those grids have dropdown columns other this is working perfectly alright. 

Actions permitted  in  our grid:-
1. It is mutli row edit grid.
2. First colum is an check box type(Which indicates that the row in edit mode or not) and some of the other columns are combo box
3. While checking the check box the row should go to editable mode
4. While unchecking check box the row status should change to non edit mode
5.  While Unchecking the check box in last editable row,Row should not change the status in to a nondeitable mode


While performing the 5th action we are face ViewState error.

Looking forwarded to solution for the this. 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 21 Aug 2012, 08:45 AM
Hello Pradeep,

The information provided is not enough for us to determine the cause of the issue. Please paste your grid declaration and code behind. In the meantime, make sure that you are not creating controls in the grid edit from in other events than ItemCreated. Also, are you manipulating the Controls collection of any grid items in your code behind? If so, try commenting out this parts until you find out which one exactly causes the error.

Greetings,
Tsvetina
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
Pradeep
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or