how to Silverlight control in aspx?

2 posts, 0 answers
  1. Pierre
    Pierre avatar
    1 posts
    Member since:
    Jul 2008

    Posted 28 Jul 2008 Link to this post

    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.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 31 Jul 2008 Link to this post

    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.
Back to Top