I have a single radgrid in a control, which I want to display on the same page three times, as follows:
| <UC:MySubscriptionGrid ID="MySubscriptionGrid" runat="server" subType="T" /> |
| <br /> |
| <UC:MySubscriptionGrid ID="MySubscriptionGrid1" runat="server" subType="U" /> |
| <br /> |
| <UC:MySubscriptionGrid ID="MySubscriptionGrid2" runat="server" subType="F" /> |
I have the ajax manager on the master page, and then the radajaxproxy on the MySubscriptionGrid control itself as follows:
| <telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadGrid_Subs"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadGrid_Subs" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="btnSubPanelMinus"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="pSubscriptions" /> |
| <telerik:AjaxUpdatedControl ControlID="pButton" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="btnSubPanelPlus"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="pSubscriptions" LoadingPanelID="RadAjaxLoadingPanelSubscriptions" /> |
| <telerik:AjaxUpdatedControl ControlID="pButton" LoadingPanelID="RadAjaxLoadingPanelSubscriptions" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
This works ok, except when I click off to a different page then click the back button. After clicking the back button, the Paging and Sorting images on the grid are missing. In Firefox, I get the dread "Invalid Viewstate" error. Is there a different way I should be setting this up?
With standard Microsoft ajax, I would just wrap an update panel around each instance of the control. I tried something similar with the RadAjax panel, but that does not seem to work.
Any suggestions?
Thanks.