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

RadGrid is preserving expanded state for removed item

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Blair
Top achievements
Rank 1
Blair asked on 04 Oct 2013, 06:44 PM
I am removing the base row of an expanded item in edit mode (detailtable) from a RadGrid then at a later point re-adding it.  As a result the RadGrid is remembering that this item was originally expanded/editable and attempting to bind the detailtable, but does so incorrectly (I use OnDetailTableDataBind, it is not doing so).  

How do I tell the RadGrid to not preserve the expanded/editable state when the item is removed such that it does not try to re-expand when it is subsequently re-added later?

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 09 Oct 2013, 12:39 PM
Hello Blair,

I am afraid that I am not completely understand your requirement. Are you trying to stop the databindng of the detailed table after editing the item. If that is your request I am afraid that this could not be achiever as the rebind is called after any command which is executed in the grid. If your request is different then I would ask you to elaborate a little bit more on your scenario.

Regards,
Kostadin
Telerik
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 the blog feed now.
Tags
Grid
Asked by
Blair
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or