c# - using Response.Write for redirecting to page -


when use code response.write("redirect=http://mydomain.com/result.aspx") , result page html not getting displayed. instead getting "page not found" error. in url result page has text " result.aspx%3c!doctype%20html%20public".

please me how can redirect result page properly.

you have use response.redirect

response.redirect("http://mydomain.com/result.aspx"); 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -