Invoke Silverlight Methods through Javascript - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Monday, April 16, 2012

Invoke Silverlight Methods through Javascript

Invoke Silverlight Methods through Javascript

Introduction

In this article, I will show how to invoke Silverlight methods from javascript. We will learn this by performing a simple calculator example with some basic arithmetical functionalities being expose.

What we need to perform the experiment?

Well for doing this experiment, what we need is the following

VS 2010
Asp.net
Silverlight
System.Web.Silverlight.dll(If your system does not have this, you can download from here or any where else if you found a link)

N.B.System.Web.Silverlight.dll in not part of the SDK since Silverlight 3

What is the importance of System.Web.Silverlight.dll?

It provides the ASP.NET Silverlight server control that was designed to make it easier to create the object tag needed to describe the silverlight plug-in.Since this server-side control was removed since Silverlight SDK 3,so we have to build the object tag by ourself.

No comments:

Post a Comment