How to play MP4 (H.264 video) in Silverlight 3 (or 4) from a URL?
So I have some URL of an MP4 file. I want to develop a simple Silverlight application to play it. How to do it? (Preferably with example code.) ...
So I have some URL of an MP4 file. I want to develop a simple Silverlight application to play it. How to do it? (Preferably with example code.) ...
I have one main page in my Silverlight project. I have two frame inside this page. The one called Contents and the other called Footer. What I wonder is, how can I change the variables in the content in the Content of whether that's a click event in the Footer? In Mainpage.xaml: <UserControl x:Class="SilverlightApplication10.MainPa...
Hi, I have a ContainerCommand (which is registered in Unity) which calls a web service asynchronously. What I want is the result of the web service to be some how propagated back to the view model and then view. The app is written in Silverlight. How can I do this? JD. ...
How can one be notified as to when a UIElement has been moved (eg: when a Panel has reArranged its child elements, or an Animation is moving them around)? So far I've investigated the following dead ends: a) the LayoutUpdated event: works when the Panel moves things around -- but doesn't fire when Animations are applied to the position ...
There is a web-application that works with Business Logic Layer (BLL). The BLL gets data from the Data Access Layer (DAL). The DAL gets data from DB through and does custom mapping. At the moment it is required to add into the web application some functionality that will be Silverlight-based. It is planned to use .NET RIA Services for t...
Hello, I have some problems with ChildWindow control, I have created an error window control that is shown after unhandled exception is caught in app.xaml.cs. The problem is when I try to show the error window, sometimes it works fine, but sometimes I get this nasty exception: Message: Error HRESULT E_FAIL has been returned from a cal...
I'm writing a small audio application (in Silverlight, but that's not really relevant I suppose), and I'm a struggling with a problem I've faced before and never solved properly. This time I want to get it right. In the application there is one Arrangement control, which contains several Track controls, and every Track can contain Audio...
Hi, I am using prism and have a number of modules. In several of them I am making webservice and wcf calls. I want to be able to configure the information about these services in one place. Should I do this in a resources.resx file? I remember a settings.setting file but that was in a web application. JD ...
Hi I am using WCF RIA Services VS2008/.NET 3.5 and trying to do exception handling. I have overridden OnError method of DomainService and doing my exception handling in that method. I am trying to throw Business Rule Exceptions or Database Exceptions to client in some form so that client recognizes them and handles them differently. Th...
I want to create dynamic load for items in Silverlight Listbox. When user reaches end of items by scroll bar (or mouse wheel), then I want call new request for next 10 (or some different) items. And problem is which event on listbox can handle this? ...
I'm new to both Silverlight and RIA. I have a simple form with a DataGrid bound to a DomainDataSource object. The rows displayed represent section headings to be displayed on a webpage. One of the columns is called OrdinalPosition and I have specified that the grid is to sort by this column. I have a custom column with up and down ar...
I have a site that serves up a pretty substantial Silverlight RIA and it makes use of IsolatedStorage. The SL app is served up from https://www.site.com/Application (MVC View that hosts the SL object tags, etc). It is also served up from https://site.com/Application. The problem inherent in this is that this will create two separate I...
I have a Rectangle Shape in Silverlight that is rotated 15 degrees. It is filled with an image. The normal behavior of SL is to rotate the Fill object with it's parent (the rectangle, in this case). Is there any way to ignore the transform effect for the Fill object? I'd like the image to continue to point north on the screen. Here's th...
Hi, I have a set of image resources in a Silverlight client and I'm trying to render text on them. I can load the original BitmapImage into a WriteableBitmap but see no facility for rendering text onto it. Could anyone point me in the right direction? Thanks, ...
Hello, I have a window with some contents. I'd like to click a button and another control (a grid/border) slides up. But i'd like the contents of the window that is under this slided up control to be modal. I cannot click or use keyboard to activate anything. Thank you. ...
Update: This is a confirmed bug in Silverlight 4 beta. http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=523052 I solved this issue by switching to a full blown WPF application and using regular old Microsoft.Office.Interop.Word. But I'm still very interested in how to get this to work using the dynamic val...
I tryed to create my own numeric textbox here is my code: public class NumericTextBox : TextBox { public NumericTextBox() : base() { this.Text = "0"; } private void HandleKeyEvent(KeyEventArgs e) { e.Handled = true; if ((Keyboard.Modifiers & ModifierKeys.Alt) != 0) { ...
Why is my Silverlight 3 setter causing AG_E_INVALID_ARGUMENT exceptions? Here are two code samples. The first throws an exception but th second does not. What am I doing wrong in the first one? This one throws the exception: <Grid.Resources> <Style TargetType="Button" x:Key="refreshBtn"> <Setter Property="Content"> ...
So we have some File.mkv with h264 + mp3 in it we need to play that thing in Silverlight (3 or 4)... So I'm searching for some Open Source Matroska container Silverlight MediaStreamSource Parser/Eater? Where to find such thing? ...
I have a web app that sends ADO Entity data model classes over a WCF service to Silverlight. Imagine this simplified structure for the database [Item] Id Name [ItemDetail] Id ItemId value While the Item is in my SilverlightApp I add an ItemDetail to the Item, this is ADO so it's something like: var fv = new ItemDetail(); ...