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

return radgrid to updated sub row

3 Answers 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 19 Dec 2013, 02:56 PM
Sorry tried finding this code suppose it out these but but my google foo is not finding.  Neeed to be able to return the radgrid to a a sub row from where I pressed the update button.  Right now it closes the grid on rebind, but then i need it to expand back to the row that was updated or on delete to the place the record was deleted from.  Hope I am explaining good enough, thanks for the help.

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 24 Dec 2013, 02:37 PM
Hi Kevin,

Thank you for contacting us.

Please try enabling the following property and let me know if it works for you:
<telerik:RadGrid ... RetainExpandStateOnRebind="true">

Looking forward to your reply.

Regards,
Eyup
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.
0
Kevin
Top achievements
Rank 1
answered on 26 Dec 2013, 07:07 PM
Hi,

Is this something new in the radgrid, have never seen or heard of this option before.  It works good if you have up to 1 subgrid or a radgrid but anymore than this and it only opens up to the second one no matter, it does not keep open the 3rd , 4th or so on, even if you are drilled down to that level.
0
Princy
Top achievements
Rank 2
answered on 27 Dec 2013, 05:20 AM
Hi Kevin,

Please try setting the RetainExpandStateOnRebind="true for the GridTableView as well.

ASPX:
<telerik:GridTableView RetainExpandStateOnRebind="true" . . .>

Thanks,
Princy
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Kevin
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or