Rank: Advanced Member Groups: Member
 
 
Joined: 6/13/2014 Posts: 38 
	 | 
		   
	     
		    Hi There,
  I am navigate to next page using javascript and I am calling native c# function from javascript and passing target page url and from native c# function I am trying to load url and waiting for it to finish the page loading. But calling of LoadUrlAndWait hangs the application and I had to restart the whole application every time.
  Please suggest if I am doing anything wrong.
  Regards, Ashish 
		 
	 | 
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  You can not do that. The WebView won't navigate to another page from the middle of a JavaScript call. You need to return from your native C# function to the JavaScript first before you can navigate to another page.
  Thanks
		 
	 |