This is a migrated thread and some comments may be shown as answers.

how to Silverlight control in aspx?

1 Answer 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 28 Jul 2008, 08:38 PM
Idiot newbie question.  With Telerik Silverlight 1.0, I could add a Silverlight control using <telerikSilverlight:RadMediaPlayer ... />.  How to do with Telerik Silverlight 2.0 controls?  I cannot figure out how to use newest controls in ASP.NET page.

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 31 Jul 2008, 06:00 AM
Hello Pierre,

Once you have the silverlight application build with our controls, you can easily integrate it in any ASPX or HTML page by using a simple html object tag:
 <object data="data:application/x-silverlight,"  type="application/x-silverlight-2-b2" width="100%" height="100%">  
   <param name="source" value="Telerik.Windows.Examples.xap"/>  
  </object> 

You only need to change the name of the application XAP file to point to your file.

The other option is to use the <asp:Silverlight control. More info on this control is available here:
http://quickstarts.asp.net/3-5-extensions/silverlight/SilverlightControl.aspx

Let us know if you have any other questions.


Sincerely yours,
Hristo Borisov
the Telerik team


Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Pierre
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or