c# - Response.Redirect and Server.Transfer not working -


i have asp button , try load page. page default.aspx , has 2 buttons, 1 sign user (which works fine) , goes page.

here's code:

protected void rp_click(object sender, eventargs e) {    response.redirect("~/processes/retrievepassword.aspx"); } 

i have tried with response.redirect, server.transfer, tried overload endresponse set true , false, nothing. postback same page.

i have tried using file.exists() method check if redirect file there. is.

//always returns true system.io.file.exists(mappath("~/processes/retrievepassword.aspx")); 

i'm starting think it's web.config, i'm not sure begin on 1 (if close, is).

i have looked answer hours no success far.

any idea?


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -