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

[Solved] AjaxURL missing?

1 Answer 112 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David Johnson
Top achievements
Rank 1
David Johnson asked on 26 Jun 2008, 08:58 AM
Hi,

I'm new to the AJAX Controls so apologies if this seems really dumb, but it seems that I cannot set the AjaxURL property of RadAjaxManager? We are using URL rewriting on our sites (e.g. http://localhost/big4/website/private/my-park/my-website/in-park-activities.aspx), and the ajax events throw a 404 error on the second time they're fired because it's trying to reference the page http://localhost/big4/website/private/my-park/my-website/index.aspx?id=19


Here is a sample of the code we're using.

<%

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

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

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="dlImages">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="pnlMessage" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>







<asp:datalist id="dlImages" repeatcolumns="4" repeatdirection="Horizontal" runat="server">

<itemtemplate>

<asp:linkbutton runat="server" id="lnkAdd" cssclass="add" title="Add image to this category" commandname="add">Add</asp:linkbutton>

</itemtemplate>

</asp:datalist>

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 01 Jul 2008, 05:09 AM
Hi Nath Manley,

I noticed that you are using the latest RadAjax for ASP.NET AJAX and actually this property is not valid for this version of the control. There is such a property for the "Classic" suite of the controls but not for the one you use. For your version, in order to achieve page redirection, you could review the following help topic, which elaborates on this matter.

Sincerely yours,
Maria Ilieva
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
David Johnson
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or