更新时间:2023-09-29 22:15:40
你好AkshathaMK,
Javascript在XAML中没有多大意义。
听起来像是需要在Silverlight应用程序中进行通信/使用Javascript。还是我错了?看一下以下网站: http://msdn.microsoft.com/en-us/library/cc903928%28v=vs.95%29.aspx这可能会给你一个开始。
Hello all,
I need to add a javascript function in my xaml file (in creating a Silverlight app, MainPage.xaml file)
But am not able to do it. Is there any way to add it or can we create a javascript file and have its reference in the xaml file?
Hi AkshathaMK,
Javascript in XAML does not make much sense. It sounds like you need to communicate/use Javascript in your Silverlight application. Or am I wrong? Take a look at the following site: http://msdn.microsoft.com/en-us/library/cc903928%28v=vs.95%29.aspx maybe this will give you a start.