Silverlight

TwitterFacebook
Get flash to fully experience Pearltrees

Calling JavaScript functions from Silverlight 2

Rating: 8 user(s) have rated this article Abstract: Silverlight 2 is a great technology to build business centric applications, and one of the coolest features is the ability to call JavaScript functions from your Silverlight code. The following article demonstrates how to use call JavaScript from Silverlight 2. http://www.dotnetcurry.com/ShowArticle.aspx?ID=298

Configuring IIS for Silverlight Applications : Web Server For Shared Hosting : Configuring Servers : The Official Microsoft IIS Site

http://learn.iis.net/page.aspx/262/configuring-iis-for-silverlight-applications/ Introduction Microsoft® Silverlight TM is a cross-browser, cross-platform plug-in for delivering the next generation of .NET-based media experiences and rich interactive applications for the Web. Silverlight offers a flexible programming model that supports AJAX, VB, C#, Python, and Ruby, and integrates with existing Web applications.
http://msdn.microsoft.com/en-us/library/cc645085(v=vs.95).aspx#AttachingJavascriptMethods

Making Silverlight Scriptable by JavaScript

The following example shows how to mark properties, events, and methods as scriptable by using the ScriptableMemberAttribute attribute. public class MyStockWatcher { [ScriptableMemberAttribute] public string SomeProperty {get; set;} [ScriptableMemberAttribute] public event EventHandler SomeEvent; [ScriptableMemberAttribute] public string DoWork(int count); } You can explicitly register an instance of a scriptable type with the runtime by using the RegisterScriptableObject(String, Object) method.
http://www.switchonthecode.com/tutorials/silverlight-and-javascript-interaction All the Silverlight code and examples were created using the 1.1 Alpha Refresh.

Silverlight and Javascript Interaction | Switch on the Code