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.
精彩评论