how to redirect from one page to another by using javascript function.
window.location.href='testPage.aspx' ; is not working.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Neha SharmaPosted Nov 10, 2012, 6:35 AM
You can use :
or if you have your desired page in any folder use ../,may be it works for you.
If it works mark it as answer else let me know the next issue.
Riddhi ValechaPosted Nov 10, 2012, 4:43 AM
Redirect the pages using Response.Redirect("");
That is a better option than using Javascript
Also, now Dart will soon be a competitor to Javascript...
Hope this helps !!