Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi i am trying to integrating AJAX bing map with C# Desktop application(in to web browser Control).I am New to ajax and also found webbrowser1.document.Invokescript()method can be used to call the java script of AJAX Map.But i tried my best but it failed.May be i dint understand the concept of that method.Can any one explain me how to call a java script method (let say it is located at the index.php page)from my C# Desktop application.Also i want to pass the values from my C# application to that JavaScript.

Regards
Thabo
Posted

 
Share this answer
 
Comments
Thabo@Codeproject 4-Aug-11 8:07am    
Thanks Wonde Tadesse. But the tutorial shows working with SOAP services in WPF Application.But Here the senario is different.We are using traditional windows forms and inegrating Bing MAP into that. I am using Web browser control to pull the WepPage into our desktop application(Like browser).The AJAX part was written on the web page itself.The problem is i want to pass some parameters(locations) to the JavaScript(which was written on the webpage) when i pull that webpage into the webbrowser control.Here is only i get the problem i want to pass parameter from my click event of C# Destop appliction to that Javascript.Do u have any idea?
 
Share this answer
 
Comments
Thabo@Codeproject 4-Aug-11 8:08am    
Thnks But i am using Destop appliction .The C# part want to write in to the Desktop solution.Do u have any ideas ?

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