Search This Blog

Wednesday, February 18, 2009

How to open a new url in same browser window

if you wish to open a new url in same browser window  ,then use the below javascript or C# code;
javascript:--
window.location.href="http://www.rakesh.com/upload/resume.aspx";
...........................................................................................................................
C#:-
Response.Redirect("http://www.rakesh.com/upload/resume.aspx");
.........................................................................................................................

No comments:

Post a Comment