Microsoft ASP.NET 3.5 Extensions: Using the Silverlight Control

This sample shows:

To run this sample, your browser requires the latest release of Silverlight. If the browser does not have the correct version of the Silverlight plug-in, the Silverlight server control automatically renders placeholder UI that you can click to install Silverlight.

Example: Using the Silverlight Server Control

The Silverlight server control references a XAML file and a client-script library. When the control is rendered, ASP.NET creates a JavaScript class named Custom.Calculator that is bound to the Silverlight host created by the Silverlight server control. The client class is defined in the Calculator.js library.

Note This is a sample calculator only and does not guarantee accuracy.