Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using WebBrowser control to load a website in Windows Application.

It is not loaded if the URL have contents that loaded based on query string values.

for example if URL is http://XYZ.com/Home/CategoryBook?CategoryId=11 then it is not loading.

Can anyone help me to know what additional i need to do to load those URL's who have querystring values.

Thanks.

What I have tried:

webBrowser1.Navigate("http://XYZ.com/Home/CategoryBook?CategoryId=11");
Posted
Updated 24-Jan-17 20:27pm
v2
Comments
F-ES Sitecore 25-Jan-17 5:21am    
What do you mean by "not loading", what happens exactly? You can also use a tool like Fiddler to examine the network traffic when you load the page to see what is happening. Sounds like it might be something specific to that site though, there is nothing different about loading a page with params than one without.
Ajay_Saini 25-Jan-17 6:04am    
You can see the following URL to check the exact issue...

webBrowser1.Navigate("http://vidyarthikendra.com/Home/CategoryBook?CategoryId=11");
Ajay_Saini 27-Jan-17 2:28am    
Now i had tried few more URL with querystring values and they worked but few are still not worked like in above example. Not sure how to handle these situations.

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