Unknown exception on navigating to a Uri having a query string

K

Krupa

Hi All,

I am constructing a Uri with a query string attached and trying to
navigate to that Uri. But I get an unknown exception. However when I
directly place the uri in the browser's address bar and open it, it
works fine. Please find the line below where I get the exception.

webBrowser1.Navigate(new Uri(@"/Storage
Card/Flash/GPSRanger.html?GPSRanger%2Eswf"));

Can someone help?

I am writing this application on CF 2.0 in c# for a Windows CE 5.0
device.

Thanks,
Krupa
 
E

Eike Falkenberg

Hi Krupa,

I think using a dot (".") instead of "%2E" in the Uri may fix the problem.

regards

Eike Falkenberg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top