Welcome to the ASP.NET Controls for Silverlight forum!

Last post 07-15-2008 3:08 AM by Talib_dotnet. 25 replies.

Sort Posts:

  • Welcome to the ASP.NET Controls for Silverlight forum!

    03-05-2008, 2:01 PM
    • Loading...
    • BradA
    • Joined on 07-07-2002, 9:45 PM
    • Redmond, WA
    • Posts 12
    • AspNetTeam

    ASP.NET offers great support for easily put Silverlight video and other controls into your ASP.NET

    Just install Microsoft Silverlight Tools Beta 1 for Visual Studio 2008 to check this out. 

    Check out my recent post for more information: Islands of Richness with Silverlight on an ASP.NET page

    image

    Also, be sure to check out our quickstarts,

  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-05-2008, 2:48 PM
    • Loading...
    • Jeev
    • Joined on 11-24-2005, 7:49 AM
    • Posts 3,109

    Cool so Silverlight 2.0 Beta 1 is out .  :-)

    Jeev
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If you get the answer to your question, please mark it as the answer.
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-12-2008, 2:20 AM
    • Loading...
    • sankata
    • Joined on 03-12-2008, 6:05 AM
    • Posts 1

    Can you give me description of how is silverlight work? because I'm a newbie for silverlight. have zero knowledge about it. thanxs

  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-12-2008, 3:37 AM
    • Loading...
    • Talib_dotnet
    • Joined on 01-31-2008, 11:02 AM
    • Riyadh , K.S.A
    • Posts 354

    Hi  Brad,

    I have  used the Media Player control   and found it  pretty amazing .   Hats off to  MICROSOFT ..

     

    Well...   Sankata  ..if  you  want  to  have a  good  understanding  of  SilverLight  then  check  this one out  www.silverlight.net.

     

    --------------------------------

    TALIB ALI KHAN

    Microsoft Certified Technology Specialist.

    Click "Mark As Answer" if it helped you.


    TALIB ALI KHAN
    MCTS
    Welcome to TALIB's World



  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-12-2008, 12:53 PM

    RE MediaPlayer: Glad you like it, be sure to offer up any feedback/suggestions you might have, I will be monitoring this forum closely.

    End the confusion.
    Infinities Loop: TRULY Understanding ViewState
    .NET from a new perspective.

    This posting is provided "AS IS".
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-13-2008, 4:34 AM
    • Loading...
    • Talib_dotnet
    • Joined on 01-31-2008, 11:02 AM
    • Riyadh , K.S.A
    • Posts 354

    Sure...  i  will  provide  feedback/suggestions   as  and  when  required...

     

     

    ----------------------------------------------------------------

    TALIB ALI KHAN

    Microsoft Certified Technology Specialist

    Click "Mark As Answer" if it helped you.


    TALIB ALI KHAN
    MCTS
    Welcome to TALIB's World



  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-14-2008, 6:45 AM
    • Loading...
    • DNeoMatrix
    • Joined on 03-14-2008, 10:40 AM
    • Posts 2

    Hi, 

    I am new to Silverlight (and AJAX as well), and I have only roughly dabbled in Javascript. But I love C#.

    Down to the question.

    How would I go about adding an event listener to the Media Player control so that the page performs a postback after the media has finished playing?

    (If you can't tell, the idea here is to be able to create a dynamic playlist)

  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-14-2008, 1:23 PM

    Well, you can hook into the client-side mediaEnded event (media player's OnClientMediaEnded property), then raise a postback in one of a number of different ways. You could programmatically cause a postback with javascript, the simpliest way I suppose would be to include a LinkButton thats hidden (style is display:none, not visible=false) somewhere, then execute its onclick code (it looks like __doPostBack('....')).

    <script type="text/javascript">
    function mediaEnded() {
     __doPostBack('<%= LinkButton1.UniqueID %>');
    }
    </script>

    <asp:MediaPlayer ... OnClientMediaEnded="mediaEnded"/>
    <asp:LinkButton id="LinkButton1" runat="server" style="display:none" Text="postback" />

     

     

    End the confusion.
    Infinities Loop: TRULY Understanding ViewState
    .NET from a new perspective.

    This posting is provided "AS IS".
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-22-2008, 5:53 AM

    I am finding the debugging a pain.

    Although I love the product ho hum..

     :) Seggie.

    I like helping people...
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    03-31-2008, 1:24 PM
    • Loading...
    • tatva85
    • Joined on 03-27-2008, 3:50 PM
    • Posts 1

    Hi,

    Is there any way to use Silverlight 2.0 with VS 2005 ?

    Plese let me know if there is any way to do this ..

    Chintan Bhatt,
    Software engineer,
    Tatvasoft (India).
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    04-01-2008, 10:49 AM
    • Loading...
    • davidtivy
    • Joined on 03-27-2008, 11:31 AM
    • Posts 44

    I went to one of the Silverlight Microsoft Roadshows. Silverlight is ok, you need to have about 10MB broadband with a high spec machine to using it properly, however Adobe will bring out a new Flash.

    I don't think Microsoft should rule the world. Let Adobe have some fun for god sakes!

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    04-01-2008, 5:58 PM
    • Loading...
    • DNeoMatrix
    • Joined on 03-14-2008, 10:40 AM
    • Posts 2

    honestly... i don't think this thread should be dedicated to bashing or supporting silverlight either way, those posting to it have decided to use silverlight for one reason or another, and as the title suggests, are looking for controls, etc, for using silverlight with asp.net. So your comment while a valid opinion, is a little out of place

  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    04-01-2008, 6:13 PM

     

    The day I get a cohesive platform like .Net and a nice language like c# with a lovely CLR like silverlight, I'll consider adobe.

    Till then Silverlight is an excellent offering from MS.

     

    Also as the man above me says.

    Don't flame it. If you dont like it just don't use it.

    Nice one Bill & the MS team.

     

    I like helping people...
  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    05-03-2008, 9:17 AM
    • Loading...
    • FoolongC
    • Joined on 08-24-2007, 1:12 AM
    • Posts 43

    There's a post on this thread for creating a dynamic playlist for the asp.net mediaplayer control. I understand the part about using OnClientMediaEnded and the answer was the second one I've seen about using a hidden control for event handling. So ... good to go there.

    I have a media player control on an aspx page configured to autoplay one movie where the mediaplayer.source is set right in the control markup.

    What I'd like to do is have the media player open and get its source from a string array containing the paths to several movies. And have it loop through the array (using OnClientMediaEnded - I'm thinking), playing each movie successively.

     A variation on this would be to interate through the array in the code behind by setting the source in a button's onClick event handler. I actually tried this but am running into trouble.

     

  • Re: Welcome to the ASP.NET Controls for Silverlight forum!

    05-03-2008, 2:49 PM

    You know you could use an ASX file to do this seemlessly and easily. The file has to exist though, so it's not ideal if your list of movies is dynamically determined. That or you would have to generate the asx file dynamically though a custom http handler.

    Using the media ended event may not be your best best, because it only fires if the current movie literally plays until it has ended. What if the user clicks stop? Should they be able to go back to a previous movie? A future one? See which one they are on?

    Perhaps for your scenario its still ok, just checking :) Just handle the media ended event and set the new source with sender.set_mediaSource(..). Your array would be kept in javascript and you'd also keep track of the current movie index. Does that answer your question? What trouble are you having?

    End the confusion.
    Infinities Loop: TRULY Understanding ViewState
    .NET from a new perspective.

    This posting is provided "AS IS".
Page 1 of 2 (26 items) 1 2 Next >