问题描述
我正在尝试将AJAX bing map与C#Desktop应用程序集成(在Web浏览器控件中).我是ajax的新手,还发现webbrowser1.document.Invokescript()方法可用于调用AJAX的Java脚本Map.但是我尽了最大努力却失败了.可能是我不明白该方法的概念.谁能解释我如何从C#调用Java脚本方法(假设它位于index.php页面).桌面应用程序.我也想将C#应用程序中的值传递给该JavaScript.
问候
Thabo
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
推荐答案
这篇关于将AJAX Bing Map与C#桌面应用程序集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!