Net application and from one page i have to redirect to silverlight page, i am new to silverlight so i have two question
-
Can i add silverlight page in asp.net app or i will have to add silverlight application in asp.net solution.
-
How to redirect from asp.net page to silver.(i want to pass some data from asp.net to silver light)
To communicate between a Silverlight control and javascript in an ASP.net page you can use the HTML bridge. Essentially this allows you call specially marked methods in your Silverlight control as well call javascript routines from Silverlight.
Marking a Silverlight method or attribute as accessible to javascript:
Calling the Silverlight method from javascript:
Also see other examples: