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 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 silverlight .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.