This is a migrated thread and some comments may be shown as answers.

How to work with server.execute and "RadAjaxManagerProxy"

1 Answer 59 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David Blok
Top achievements
Rank 1
David Blok asked on 30 Nov 2009, 09:00 AM
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)

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 03 Dec 2009, 07:37 AM
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.
Tags
Ajax
Asked by
David Blok
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or