Answered by:
hi friends

Question
-
I Want to open new window on button click in asp like "google.com" but it open "http://localhost:2961/Maggi/Admin/google.com" So plz helpFriday, July 23, 2010 4:34 AM
Answers
-
Hi,
Instead of just Response.Redirect("www.google.com");
use Response.Redirect("http://www.google.com");
Should work.
Regards, Chethan Kamath. "Remember that if the world didn't suck, we'd all fall off."- Proposed as answer by Paras Sanghani Friday, July 23, 2010 5:36 AM
- Edited by Chethan Kamath Friday, July 23, 2010 5:36 AM Quotes added.
- Marked as answer by kanchan singh Friday, July 23, 2010 5:52 AM
Friday, July 23, 2010 5:36 AM -
don't provide the relative Url instead provide complete URL if it is on diferent domain or is not under the same web application
like window.open(http://www.google.com)
Manish Sati- Marked as answer by kanchan singh Friday, July 23, 2010 5:52 AM
Friday, July 23, 2010 5:36 AM
All replies
-
Hi,
Instead of just Response.Redirect("www.google.com");
use Response.Redirect("http://www.google.com");
Should work.
Regards, Chethan Kamath. "Remember that if the world didn't suck, we'd all fall off."- Proposed as answer by Paras Sanghani Friday, July 23, 2010 5:36 AM
- Edited by Chethan Kamath Friday, July 23, 2010 5:36 AM Quotes added.
- Marked as answer by kanchan singh Friday, July 23, 2010 5:52 AM
Friday, July 23, 2010 5:36 AM -
don't provide the relative Url instead provide complete URL if it is on diferent domain or is not under the same web application
like window.open(http://www.google.com)
Manish Sati- Marked as answer by kanchan singh Friday, July 23, 2010 5:52 AM
Friday, July 23, 2010 5:36 AM -
Hello Kanchan Singh,
Please Provide CodeDetails. Which mode you are using for the Redirecting or transferring from one page to another?
If you are using the Response.Redirect..... Try the way Chetan Suggested.
Thanks,
Paras Sanghani
Mark As Answer if it helped you.
Friday, July 23, 2010 5:38 AM -
ThanksFriday, July 23, 2010 5:52 AM