Advanced Forum Search Results
-
yep, been there already. That works great if I am creating a string variable in the code behind but couldn't get it to read an external .xaml file correctly.
-
It will be a .xaml file that has xaml content/code in it and then I want to render the contents of the passed in .xaml file to a canvas or grid in my silverlight 3 app.
Similar to when Silverlight first came out you can create a javascript string of xaml code and use the CreateFromXaml function.
-
Is there a way to pass a .xaml page through InitParameters and render the xaml in a canvas using Silverlight 2 or 3?
example:
InitParameters="Page=../myPage.xaml"
-
bytelink,
If you are using Dreamweaver and Silverlight 2 or 3 you can use this Dreamweaver extension called Silverlight Add .XAP File. You can download it free here.
http://www.gjhdigital.com/gjhdigital/DreamweaverExtensions.aspx
-
does that mean its redirecting to another url?
-
I've been away from Silverlight for a while and now back, so I may be missing something, although I did many searches online, I cant find a resolution.
I am developing a SL3 player and was asked to test with this stream and it never plays. CurrentState is always at "Opening". I can play other streams and files not ...
-
have the stop function will call the Play() method everytime.
function Stop(sender, args)
{
sender.Stop();
sender.Play();
}
-
if you right click in the box, does the silverlight dialog show? if so, the dimensions of either the modal or the silverlight div are not set and are being collapsed. Also, you may need to add the Windowless=true parameter in your <object><params> area in the html.
-
yes
-
Mediaelement has a MediaEnded and Click eventfunction Loop(sender, args)
{
sender.Play();
}
function Stop(sender, args)
{
sender.Stop();
}
xaml
<MediaElement x:Name="vid" MediaEnded="Loop" MouseLeftButtonUp="Stop" />