Advanced Forum Search Results
-
Check out this tutorial for RichTextArea:
http://channel9.msdn.com/learn/courses/Silverlight4/RichTextEditor/RichTextEditor/
C# (code from the above tutorial):private void btnSave_Click(object sender, RoutedEventArgs e)
{
StringBuilder sb = DocumentPersister.prepareDocumentXML(rtb.Blocks);
if (sb == null)
{
...
-
Are you trying to open a ChildWindow with the button? If so, then on the Click event, create a new instance of the ChildWindow and display it. You can send an instance of the DomainDataSource to the child window in the ChildWindow's constructor.
Form (C#): private void New_Click(object sender, RoutedEventArgs e)
...
-
The error is stating that it cannot redirect to a relative local path, which also includes inside the xap.
For the url, make sure to add a UriKind.Absolute for the 2nd parameter. Also, validate that the value is not an empty string.
public class LinkConverter : IValueConverter
{
public object Convert(object ...
-
Is the xap file only going to be hosted on the single domain or will it be on multiple domains but the xml will be on a single domain?
-
Silverlight has rich media support that can assist you in developing "internet tv". As Ken mentioned above, there are some examples of this in motion.
You will need to look into video streaming, preferable IIS Smooth Streaming.
http://www.iis.net/media/experiencesmoothstreaming
-
My designer had a similar issue last year when upgrading from beta to RTM version of Silverlight 2. He went through a similar process of having to re-install Silverlight and reset IE...but none of those worked. We had to completely clean out his machine to get it working. There has to be an easier way of fixing that issue.
-
I was able to view it in IE8. Are you getting any error messages that is informing you that it isn't working in IE?
-
One suggestion is to create a separate layer that takes up the whole screen and has a video brush assigned to the MediaElement's video. On full screen, toggle the visibility of the main UI and this "full screen" layer.
XAML:
<Grid>
<Grid x:Name="MainUI">
<!-- COMPLEX LAYOUT IN THIS ...
-
You should only need it in the root directory. Make sure that you are not getting a cached version of the application.
http://forums.silverlight.net/forums/t/136982.aspx
Processing XML:
private void btnload_Click(object sender, RoutedEventArgs e)
{
WebClient w = new WebClient();
...
-
Are you trying to run this in a local or remote environment? I have seen this problem when trying to point to a relative path on a local environment.
Here are 2 methods:
1. Use the HtmlPage.Window.Navigate method:
C#:HtmlPage.Window.Navigate(new Uri("Test2.html", UriKind.Relative));
2. Call the javascript ...