
Jeremy Hinkle
Top achievements
Rank 1
Jeremy Hinkle
asked on 05 Dec 2007, 06:35 PM
Having an issue where Ajax Manager is combining a 'clean' url, with the output from a URL Rewriter. I notice the non-Prometheus rad Ajax has an AjaxURL property that could correct this behavior, but I can't find anything like this in Ajax Manager documentation.
How do I correct URL Rewriting wierdness with Prometheus Ajax Manager?
this is what is happening:
Url in browser:
/Item/1234213/
Rewritten Url:
/item.aspx?id=1234213
ajax calls go to /Item/1234213/item.aspx?id=1234213 (which messes up the Url rewriter, and causes ajax calls to fail with 500 errors from the server)
How do I correct URL Rewriting wierdness with Prometheus Ajax Manager?
this is what is happening:
Url in browser:
/Item/1234213/
Rewritten Url:
/item.aspx?id=1234213
ajax calls go to /Item/1234213/item.aspx?id=1234213 (which messes up the Url rewriter, and causes ajax calls to fail with 500 errors from the server)
10 Answers, 1 is accepted
0
Hello Margaret,
Please verify if your url rewriter works normally with ASP.NET UpdatePanel control (our Prometheus ajax is based on Microsoft ASP.NET AJAX ). Please visit also this post for more info:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please verify if your url rewriter works normally with ASP.NET UpdatePanel control (our Prometheus ajax is based on Microsoft ASP.NET AJAX ). Please visit also this post for more info:
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Daniel
Top achievements
Rank 1
answered on 19 May 2008, 02:45 AM
Hi,
I am also wondering what happened to the "AjaxUrl" property.
Is there a way to acheive this effect in the ajax controls?
Daniel Crowe
I am also wondering what happened to the "AjaxUrl" property.
Is there a way to acheive this effect in the ajax controls?
Daniel Crowe
0
Hello Daniel,
RadAjax for ASP.NET AJAX is based on Microsoft ASP.NET AJAX. Every url rewriting solution which works for UpdatePanels will work for our AJAX.
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
RadAjax for ASP.NET AJAX is based on Microsoft ASP.NET AJAX. Every url rewriting solution which works for UpdatePanels will work for our AJAX.
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Daniel
Top achievements
Rank 1
answered on 19 May 2008, 06:56 AM
Please note that my question is not in regard to URL rewriting; I wish to alter the AjaxUrl for another purpose entirely. Also note that altering Page.PostbackUrl is out of the question.
I have developed an AJX control that can detect when a client's session has timed out and then pops up a radwindow with the login form to prevent them accidently clobbering any data.
The simplest way to check if a client is still logged in is to do an ajax postback (with a ticker control) and if the result code is not 4** then the client is logged out.
However, with Forms authentication the url must have "?ReturnUrl=" to prevent the authentication module redirecting the response to the login page.
This works fine with your old controls, but I would like to upgrade to the MS AJAX based controls.
I have developed an AJX control that can detect when a client's session has timed out and then pops up a radwindow with the login form to prevent them accidently clobbering any data.
The simplest way to check if a client is still logged in is to do an ajax postback (with a ticker control) and if the result code is not 4** then the client is logged out.
However, with Forms authentication the url must have "?ReturnUrl=" to prevent the authentication module redirecting the response to the login page.
This works fine with your old controls, but I would like to upgrade to the MS AJAX based controls.
0
Hello Daniel,
As my colleague explained, forms authentication is handled exactly in the same manner as with ASP.NET AJAX and we have not added anything else to extend this. These two articles should get you started:
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
As my colleague explained, forms authentication is handled exactly in the same manner as with ASP.NET AJAX and we have not added anything else to extend this. These two articles should get you started:
- http://msdn.microsoft.com/en-us/library/bb398896.aspx
- http://forums.asp.net/p/1066976/1553437.aspx#1553437
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Daniel
Top achievements
Rank 1
answered on 19 May 2008, 10:54 PM
To Vlad and Steve,
I am not asking about validation, I am not asking about url rewriting.
I am asking if there is a replacement technique for a property you have removed from the RadAjaxPanel.
Please tell me if there is a way to achieve the effect of RadAjaxPanel.AjaxUrl in the new version.
Daniel Crowe
I am not asking about validation, I am not asking about url rewriting.
I am asking if there is a replacement technique for a property you have removed from the RadAjaxPanel.
Please tell me if there is a way to achieve the effect of RadAjaxPanel.AjaxUrl in the new version.
Daniel Crowe
0
Hi Daniel,
As my colleagues previously mentioned the RadAjax for ASP.NET AJAX is based on Microsoft ASP.NET AJAX. In this sense, you could consider every url rewriting solution, which works for UpdatePanels, as e replacement technique of the described property, which will work for our Ajax.
Kind regards,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
As my colleagues previously mentioned the RadAjax for ASP.NET AJAX is based on Microsoft ASP.NET AJAX. In this sense, you could consider every url rewriting solution, which works for UpdatePanels, as e replacement technique of the described property, which will work for our Ajax.
Kind regards,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Daniel
Top achievements
Rank 1
answered on 28 May 2008, 11:07 PM
Did you ready my post?
0

px
Top achievements
Rank 1
answered on 05 Jun 2008, 04:36 PM
I have to admit, Teleriks response to this question has been very poor.
If you remove a property from a control you have a responsibility to provide a work around. Repeatedly stating that something can be done, is not the same or as nearly as helpful as showing once how it is actually done.
Peter
If you remove a property from a control you have a responsibility to provide a work around. Repeatedly stating that something can be done, is not the same or as nearly as helpful as showing once how it is actually done.
Peter
0

David Silveria
Top achievements
Rank 1
answered on 06 Jun 2008, 12:27 PM
Well obviously there is no counterpart for the AjaxUrl property for the new ajax controls. I would take it that the suggestion from telerik mean you should try how your url rewriter behaves with asp:UpdatePanels and if the results is the same, I would search through out the asp.net ajax forums to see if they have anything to say.
~Thanks
~Thanks