using Server.Transfer shows

  1. #1

    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

    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" &#111;nclick="Button1_Click" />
        <ext:Button ID="Button1" AutoPostBack="true" runat="server" Text="Server Transfer"
            &#111;nclick="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.
  2. #2

    RE: using Server.Transfer shows "The web.config file for this project is missing the required AjaxRequestModule" warning window

    Hi,

    I am afraid that there is no fix/workaround because Server.Transfer blocks execution of http filter which required for Coolite ScriptManager
  3. #3

    RE: using Server.Transfer shows "The web.config file for this project is missing the required AjaxRequestModule" warning window

    then you are telling me that I need to change the way my applications works ? lol :0 this mean a lot of critical changes! Are there a way to hide the dialogue itself. I mean to prevent this dialogue from being shown at all.
    BTW Where is the http filter located? I tried to navigate through the source code but could find my way
  4. #4

    RE: using Server.Transfer shows "The web.config file for this project is missing the required AjaxRequestModule" warning window

    I am investigating this Server.Transfer scenario. We'll do our best to figure out some kind of solution/work-around.

    Geoffrey McGill
    Founder
  5. #5

    RE: using Server.Transfer shows "The web.config file for this project is missing the required AjaxRequestModule" warning window

    I really appreciate that. Can yout tell me where to find the source of this http filter?
  6. #6

    RE: using Server.Transfer shows "The web.config file for this project is missing the required AjaxRequestModule" warning window

    Istofix (11/18/2009) I really appreciate that. Can yout tell me where to find the source of this http filter?
    The source for the filter is located within the /Core/ folder.


    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 3
    Last Post: Apr 11, 2012, 1:56 AM
  2. [CLOSED] Problem with HttpContext.Server.Transfer
    By xeo4.it in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 14, 2011, 2:52 PM
  3. [CLOSED] Support for Server.Transfer
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 20, 2010, 3:03 PM
  4. Replies: 6
    Last Post: Apr 30, 2010, 2:57 PM
  5. Replies: 4
    Last Post: Oct 27, 2009, 6:15 AM

Posting Permissions