I am hoping to overcome the infamous "Browser Back" issue. When the user clicks on an item in a Radgrid and travels to a different page, I need to have that same grid and data available if the user navigates "Browser Back" to the page. To do this, I am trying to use "Prometheus" Ajax. I added the following to my page:
<asp:ScriptManager runat="server" id="ScriptManager1">
</asp:ScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="loadingPanel" EnableHistory="True">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rgSearchResults">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgSearchResults" LoadingPanelID="loadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="loadingPanel" runat="server" Width="75px" Height="75px" Transparency="20">
<asp:Image ID="Image2" runat="server" AlternateText="Loading..." ImageUrl="RadControls/Ajax/Skins/Default/Loading.gif" />
</telerik:RadAjaxLoadingPanel>
where rgSearchResults is the radgrid that I am very interesting in preserving in the Browser Back situation. I also turned off the ajax on rgSearchResults. I don't experience any compilation errors, but I get a postback when I click within the grid on a linkbutton. I then tried it on a simple linkbutton outside of the grid, but experienced the same result.
I am not sure if it is related, but in my Source view, the editor underlines "ScriptManager" as an error (unrecognized), but does not produce an error. It compiles. If I look in my toolbox, there is in fact a ScriptManager, so I am not sure why it is underlining as an error.
I am not sure if this is related or not, but once I added the ScriptManager and AjaxManager, I received a js error on the page that reads: 'Sys' is undefined. If I remove the ScriptManager and AjaxManager, the js error goes away.
<asp:ScriptManager runat="server" id="ScriptManager1">
</asp:ScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="loadingPanel" EnableHistory="True">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rgSearchResults">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgSearchResults" LoadingPanelID="loadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="loadingPanel" runat="server" Width="75px" Height="75px" Transparency="20">
<asp:Image ID="Image2" runat="server" AlternateText="Loading..." ImageUrl="RadControls/Ajax/Skins/Default/Loading.gif" />
</telerik:RadAjaxLoadingPanel>
where rgSearchResults is the radgrid that I am very interesting in preserving in the Browser Back situation. I also turned off the ajax on rgSearchResults. I don't experience any compilation errors, but I get a postback when I click within the grid on a linkbutton. I then tried it on a simple linkbutton outside of the grid, but experienced the same result.
I am not sure if it is related, but in my Source view, the editor underlines "ScriptManager" as an error (unrecognized), but does not produce an error. It compiles. If I look in my toolbox, there is in fact a ScriptManager, so I am not sure why it is underlining as an error.
I am not sure if this is related or not, but once I added the ScriptManager and AjaxManager, I received a js error on the page that reads: 'Sys' is undefined. If I remove the ScriptManager and AjaxManager, the js error goes away.