Nov 18, 2009, 6:31 AM
using Server.Transfer shows
I posted this before in the bugs fourm here ... does anybody have a walkaround? any help is appreciated.
When trying to redirect to another web page by internal server call using
When trying to redirect to another web page by internal server call using
Server.Transfer
method the transfer will be done but this will show the warning window "The web.config file for this project is missing the required AjaxRequestModule." even if its configured correctly on the web.config. <script type="text/VB" runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Server.Transfer("~/WebForm1.aspx",False)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<asp:Button ID="Button2" runat="server" Text="Button" onclick="Button1_Click" />
<ext:Button ID="Button1" AutoPostBack="true" runat="server" Text="Server Transfer"
onclick="Button1_Click">
</ext:Button>
</form>
</body>
</html>
No matter who issues the redirect a coolite control or a normal ASP.NET control the message will appear.
Last edited by geoffrey.mcgill; Feb 21, 2011 at 8:12 PM.