How to Redirect from one URL to another???
-
Hai friends.. I am new to asp.net.I would like to know how to Redirect from one URL to another URL.My problem is that i upload my project in server.suppose, www.firstproject.com is the website name ,in that project there is link to go to www.secondproject.com.....(these two works are uploaded in 2 different server).But it is not working with my code....How to do that????any idea please help me....am using .NET 1.1 version and c# coding...... Thanks in advance
-
Hai friends.. I am new to asp.net.I would like to know how to Redirect from one URL to another URL.My problem is that i upload my project in server.suppose, www.firstproject.com is the website name ,in that project there is link to go to www.secondproject.com.....(these two works are uploaded in 2 different server).But it is not working with my code....How to do that????any idea please help me....am using .NET 1.1 version and c# coding...... Thanks in advance
-
Hai friends.. I am new to asp.net.I would like to know how to Redirect from one URL to another URL.My problem is that i upload my project in server.suppose, www.firstproject.com is the website name ,in that project there is link to go to www.secondproject.com.....(these two works are uploaded in 2 different server).But it is not working with my code....How to do that????any idea please help me....am using .NET 1.1 version and c# coding...... Thanks in advance
Use, Response.Redirect("testpage.aspx"); will help you. where the testpage is the page where you want to redirect page.
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus
-
Use, Response.Redirect("testpage.aspx"); will help you. where the testpage is the page where you want to redirect page.
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus
Thanks for your reply. But Actually my problem is different ,i dont want to redirect from one page to another page in the same project.Instead of that ,i want to redirect from one website to another site...for example www.yahoo.com to www.rediffmail.com
-
Thanks for your reply. But Actually my problem is different ,i dont want to redirect from one page to another page in the same project.Instead of that ,i want to redirect from one website to another site...for example www.yahoo.com to www.rediffmail.com
-
Thanks for your reply. But Actually my problem is different ,i dont want to redirect from one page to another page in the same project.Instead of that ,i want to redirect from one website to another site...for example www.yahoo.com to www.rediffmail.com
-
Thanks for your reply. But Actually my problem is different ,i dont want to redirect from one page to another page in the same project.Instead of that ,i want to redirect from one website to another site...for example www.yahoo.com to www.rediffmail.com
it will work. please try it. it is working fine for me.
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus
-
it will work. please try it. it is working fine for me.
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus
Thanku very much for your confident reply I try Response.redirect withot using http in first time But after your reply i try with http (ie,Response.redirect("http://www.xyz.com"); now my case is working fine. Thanks once again
-
Thanku very much for your confident reply I try Response.redirect withot using http in first time But after your reply i try with http (ie,Response.redirect("http://www.xyz.com"); now my case is working fine. Thanks once again
-
Thanks for your reply. But Actually my problem is different ,i dont want to redirect from one page to another page in the same project.Instead of that ,i want to redirect from one website to another site...for example www.yahoo.com to www.rediffmail.com
hello , In the button there will be one property onclientclick. on clientclick = javascript:redirectpage(); function redirectpage() { navigate('http://www.rediffmail.com'); return false; } Do like this it will work ok byeee Murali
-
Thanku very much for your confident reply I try Response.redirect withot using http in first time But after your reply i try with http (ie,Response.redirect("http://www.xyz.com"); now my case is working fine. Thanks once again
-
Thanku very much for your confident reply I try Response.redirect withot using http in first time But after your reply i try with http (ie,Response.redirect("http://www.xyz.com"); now my case is working fine. Thanks once again
Glad to help always.:)
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus