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

[Solved] Stopping Multiple Hierarchical Grid Editing

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Barbara
Top achievements
Rank 1
Barbara asked on 28 May 2008, 04:42 PM
Hi,

I have created a hierarchical grid, containing 3 grids. It is possible to edit all three grids. However When I go to edit the first level, then select a lower level and select that edit button, when I go to do anything else I get the following error:

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

I have tried setting the AllowMultiRowEdit property to false, but this only seems to stop multiple editing of the top level, still allowing a user to click edit in the lower levels. Can you give me some information on how I could go about stopping the user from editing any radgrid including the lower levels.

Thanks,

Ipag

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 29 May 2008, 07:13 AM
Hello Barbara,

Can you please check the following demo and see if you get an error as described there?

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/ThreeLevel/DefaultCS.aspx

Does the demo behaves as you expect on your end?

Sincerely yours,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Barbara
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or