ajax manager dont redirect .
i have master page with ajaxmanager.
i have rad ajaxpanel and inside a button that has btnRedirect_Click onclick event at content page.
my content page redirect code is below:
there is nothing. ajaxmanager or ajaxpanel dont redirect.
Pls help.
Thanks.
i have master page with ajaxmanager.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompositeScriptLast="True"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts> <CompositeScript> <Scripts> <asp:ScriptReference NotifyScriptLoaded="true" Path="~/Common/Scripts/jquery-1.9.0.js" /> <asp:ScriptReference NotifyScriptLoaded="true" Path="~/Common/Scripts/jquery-migrate-1.2.1.min.js" /> <asp:ScriptReference NotifyScriptLoaded="true" Path="~/Common/Scripts/jquery-2.1.1.min.js" /> <asp:ScriptReference NotifyScriptLoaded="true" Path="~/Common/Js/mainComp.js" /> </Scripts> </CompositeScript></telerik:RadScriptManager>i have rad ajaxpanel and inside a button that has btnRedirect_Click onclick event at content page.
my content page redirect code is below:
protected void btnRedirect_Click(object sender, EventArgs e) { string url = Functions.RouteUrlToFullUrl(RouteTable.Routes.GetVirtualPath(null, "route", new RouteValueDictionary { { "id", param1}, { "routeC", param2} }).VirtualPath); RadAjaxManager AjaxManager = RadAjaxManager.GetCurrent(Page); AjaxManager.Redirect(url); }there is nothing. ajaxmanager or ajaxpanel dont redirect.
Pls help.
Thanks.