Window.External.Notify在电话中 [英] Window.External.Notify in Phone

查看:119
本文介绍了Window.External.Notify在电话中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海,

       我已经在Web浏览器中加载了HTML文件.我需要从html Page中将值传递给脚本通知方法.我已经使用Window.External.Notify了.

         I have loaded HTML file in Web browser.From html Page i need to pass values to script notify method.I have used Window.External.Notify like this.

window.external.Notify(JobNumber,JobTitle)


但是如果没有任何外部URL,则永远不会调用Script Notify事件.如果我仅提供任何外部URL,则将调用该事件.不需要我在Notify Method中提供外部URL.有人可以告诉我对此问题的任何解决方案.


But without any External URL,Script Notify event is never called.If i give any external URL only,the event is called.There is no need for me to give external URL in Notify Method.Can anyone pls tell me any solution for this problem.

推荐答案

可以在下面的链接中找到一个用法示例.它是Silverlight文档,但也应适用于Phone的Silverlight实施:

A usage example can be found at the following link. It is Silverlight documentation but it should be applicable to the Phone's Silverlight implementation as well:

WebBrowser.ScriptNotify事件

希望这会有所帮助,
标记

Hope this helps,
Mark


这篇关于Window.External.Notify在电话中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆