How to work with server.execute and "RadAjaxManagerProxy"

2 posts, 0 answers
  1. David Blok
    David Blok avatar
    42 posts
    Member since:
    Nov 2009

    Posted 30 Nov 2009 Link to this post

    Is it possible to work with server.execute and RadAjaxManagerProxy?

    Default.aspx has the code like

    <

     

    form id="form1" method="post" runat="server">

     

    <

     

    asp:ScriptManager ID="ScriptManager" runat="server" />

     

    <

     

    telerik:RadAjaxManager ID="AjaxManager1" runat="server">

     

    </

     

    telerik:RadAjaxManager>

    server.execute("test.aspx")

     

    </

     

    form>

     



    This page is using a server.execute("test.aspx")

    test.aspx page

    <

     

    telerik:RadAjaxManagerProxy ID="AjaxManagerProxy2" runat="server">

     

     

    <AjaxSettings>

     

     

    <telerik:AjaxSetting AjaxControlID="RadMenu1">

     

     

    <UpdatedControls>

     

     

    <telerik:AjaxUpdatedControl ControlID="RadMenu1" />

     

     

    </UpdatedControls>

     

     

    </telerik:AjaxSetting>

     

     

    </AjaxSettings>

     

    </

     

    telerik:RadAjaxManagerProxy>

     

     

    <

     

    telerik:RadMenu ID="RadMenu1" runat="server" Style="z-index: 2;" />


    Anyone has an idea how to run the radmanagerproxy on this page properly ? (Page coding is at VB)

  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 03 Dec 2009 Link to this post

    Hello David,

    Unfortunately calls like Server.Execute(), Server.Transfer(), Response.Write() are not allowed with ajax. I suggest that you redirect to another page or load user controls on the current page and thus achieve your goal.

    Let me know if further questions arise.

    Kind regards,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top