Is there an newer/easier way to preserve the expand state of detailtables after rebind?
I've seen the below example, but I need an example in vb.net and the conversion does not work.
http://www.telerik.com/community/code-library/aspnet-ajax/grid/retain-expanded-selected-state-in-hierarchy-on-rebind.aspx
I've seen the below example, but I need an example in vb.net and the conversion does not work.
http://www.telerik.com/community/code-library/aspnet-ajax/grid/retain-expanded-selected-state-in-hierarchy-on-rebind.aspx
5 Answers, 1 is accepted
0
Hello Phillip,
I have converted the code from the code library to VB.
You can find it attached to this message.
I hope it helps.
All the best,
Mira
the Telerik team
I have converted the code from the code library to VB.
You can find it attached to this message.
I hope it helps.
All the best,
Mira
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
0

Phillip
Top achievements
Rank 1
answered on 18 Oct 2011, 03:38 PM
Thanks. Should this work with an ajax refresh? Here is the refresh that I'm using. It does not appear to be working, yet.
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"
DisplayAfter="0">
</asp:UpdateProgress>
 
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="3000" OnTick="Timer1_Tick">
</asp:Timer>
Protected Sub Timer1_Tick(ByVal sender As Object, ByVal e As EventArgs)
RadGrid1.Rebind()
End Sub
0
Hello Phillip,
I have modified the project from my previous post to implement the desired functionality with the timer. You can find the updated version attached to this post.
I hope it helps.
All the best,
Mira
the Telerik team
I have modified the project from my previous post to implement the desired functionality with the timer. You can find the updated version attached to this post.
I hope it helps.
All the best,
Mira
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
0

Phillip
Top achievements
Rank 1
answered on 14 Nov 2011, 09:22 PM
The demo is working for me, but not when I try to duplicate in my project. Each time the grid is rebound by timer1 it closes the expanded details tables. I am using SQLDataSource's.. could this be a problem? Thanks
0
Hello Phillip,
I have retested my project and it is working fine on my side.
Please let me know if there are any differences at your end, which I may be leaving out.
Best wishes,
Mira
the Telerik team
I have retested my project and it is working fine on my side.
Please let me know if there are any differences at your end, which I may be leaving out.
Best wishes,
Mira
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