home links tools blog about
home

« Huh? What? | Main | Windows Vista Security Flaw? Um... No. »

January 31, 2007

Comments

David

Oh, thank you! I was previously overriding the Render() method on my master page to fix the action, but it wasn't working with the UpdatePanel. Now I'm back on track...

foo

huteonahtn uehant uehtna ueao u htnueatnh http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=pLt&q=url+rewriting+asp.net+ajax+form+action+&btnG=Search

Nick H

Thanks for this tip. My home grown UrlRewrite is now working perfectly with ASP.NET Ajax.

Peter

Great tip. Also overwriting the render to fix the action. Works great now.

James

Brilliant. I was using both similar methods but couldn't get ajax methods to work with url rewriting. I only had to add the context.items... lines into my exising code to get everything working.

Works with telerik RadAjaxManager as well.

Sagar Kathiara

Hi,
The code works great with AJAX. However when I have AJAX as well as POSTBACK events on the same page the code starts giving problems. Can you help me with this??

kral oyun

Great tip. Also overwriting the render to fix the action. Works great now.
thank you

Oyun

Thanks for this tip. My home grown UrlRewrite is now working perfectly with ASP.NET Ajax.

Estetik

very good post thank you

Kiên

Very good post indeed. I will try your solution.

Prabhjot Singh

Just put in

form.Action=Request.RawUrl;

in page_load of the master page(if used) or on the page_load of the respective page.

I used it and it works amazingly. No need to put in any code. Your postbackurl will be exactly what you want.

estetik

this code works great with AJAX.thankss

refurbished hp desktop computers

Hey thanks for sharing this information and i have tried this solution and its working great AJAX, and others should try this solution if they are facing the same problem!

Oyunlar

Great tip. Also overwriting the render to fix the action. Works great now.

The comments to this entry are closed.