开发者

javascript in silverlight xaml file

when I am trying to write javascript in xaml page itself it is showing some error.

<script type="javascript">
....
</script>

can we write javascript function for form validation in sil开发者_StackOverflow中文版verlight .xaml file ?


You cannot place a Script tag inside Xaml. However if you are simply rendering Xaml in the silverlight plugin you can wire up events that run javascript from a script block included in the HTML page that host the plugin. See this example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜