Click here to Skip to main content
16,015,504 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to change My Browser URL at run time
For Example:

http://stackoverflow.com/questions/4573394/change-url-of-webbrowser-in-c-sharp[^]

but the above URL not help me I don't know name space for Browser
Posted

In C# you use Response.Redirect(path);

In JavaScript you can use window.location=newurl;
 
Share this answer
 
Hi Just write '@' before URI
C#
Browser.Url = new Uri(@"http://www.pandora.com/");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900