silverlight-3.0

Silverlight 3.0 writableBitmap

i have a writableBitmap object which i want to save on server. Is there any way to save it may be using webservice?? ...

How to play live stream MPEG4 in silverlight 3

Hi All, I have a MPEG4 stream from a camera. I want to play that stream using silverlight media player. Please help me to achieve this. ...

Silverlight ComboBox and SelectedItem

Hi all, I have the following scenario: 1 List which contains the months of the year: public List<String> Months { get { return m_Months; } } m_Months = new List<String>(); for (int i = 1; i <= 12; i++) { DateTime date = new DateTime(1900, i, 1); m_Months.Add(date.ToString("MMM")); } 1 ComboBox whose Items...

Silverlight 3 DataForm - How to populate DataFormComboBoxField from enumeration

XAML <df:DataForm x:Name="MobCrud" AutoEdit="True" AutoCommit="True" AutoGenerateFields="False" VerticalAlignment="Top" CommandButtonsVisibility="All" Header="Mob Details" CanUserAddItems="True" CanUserDeleteItems="True" CurrentItem="{StaticResource newMob}...

Silverlight 3 Out of Browser Application feature

I am currently researching new technologies for our company's development road map and saw that Silverlight 3 has the ability to install an application on the client's desktop. Is this feature a full or partial emulation of a WinForms application and does it provide the ability to access all or limited local resources on the client's co...

Get the countries of the world in Silverlight

Hi all, In 'normal' .Net, you can get the world's countries using the method described in this link. Unfortunately, Silverlight doesn't support GetCultures or CultureTypes (yet?). Is there a way to get the countries in SL, without hard-coding them of course? Thanks, Frances ...

Silverlight/WPF MediaElement differences

Hi am trying to work with the differences between MediaElement in Silverlight 2.0 and WPF. (One has a scubbing enable flag, the other has audio track support, etc). I just browsed the online docs and it does not look like the betas of SL3 or .NET 4.0 are doing anything to address the differences. My question is: Is anyone playing with...

RIA Services vs ADO.NET Data Services

I'm currently in the process of creating a Silverlight 3 data driven application. To access the database, 2 common approaches are used: RIA Services and ADO.NET Data Services. Does anyone have any guidance on when/why to choose each approach? Here is what I've gathered from my research / experience. Any thoughts? ADO.NET seems to be...

Problem with Silverlight 3 plugin on FireFox

I recently upgraded to SilverLight 3 (beta) and for some reason the SilverLight plug in will not view local SilverLight Projects, i.e. when I hit F5 (debug) I can see the page loading, but then nothing happens. Does anyone have any ideas? ...

Server side for a multiplayer turn based silverlight game.

I am currently in the early stages of designing a browser based game using silverlight. The game is going to have many matches of 2-4 players (perhaps even up to 8) and will be turn based. The Front end is Silverlight 3.0 since I have some experience there. I am trying to figure out what the back end should be. Since the game is turn b...

Silverlight / Data Challenging Issue

I'm a little stumped on this one. Anyone have any ideas? I'll try to lay out the example as brief as possible. Creating Silverlight 3.0 application against SQL 2005 database. Using RIA Services and Entity Framework for data access. I need to be able to populate a grid against a table. However, my grid UI and my table structure is d...

What is the difference between WCF and the RIA Services Domain Service Class?

I'm just introducing myself to the basic differences between Silverlight 3 and it's predecessor. Looking at Domain Service Class within RIA services, the execution seems quite a bit simplified. Can someone explain the basic differences between this and Windows Communication Foundation? Does the Domain Service Class employ WCF or som...

Dynamic Data with Entity Framework and RIA Services

This question is an extension of another question, but I think it warrants its own thread. See See Silverlight Question I have a stored procedure (SQL 2005) that returns a dynamic data set (different columns/schema) each time it is called. I want to consume this in Silverlight 3.0 so I need to somehow wire this up using Entity Framew...

Where can I learn more about TransportSecurityWithMessageCredential in Silverlight 3

I read here about the new security options in Silverlight 3 and I was hoping someone could give me a link to more information on the TransportSecurityWithMessageCredential option in Silverlight 3. Thanks ...

Databinding between element properties in sibbling user components

I've made two user controls A and B. Each of them has a TextBlock inside, and are places inside the root control (Page/RootVisual) How do i bind the two "Text" properties, so that the text in B changes when the text in A changes(and not from B to A) I cannot figure out the way to type this in XAML. What do i write as (x) in: Text="{Bi...

Setting the ItemsSource of a combobox from an INDEXER in XAML???

I have a cache that retrieves collections based on a string (collection name) passed to the cache (ie... GlobalCache.Instance["States"]) I added a resource as following: < EnumCache:GlobalCache x:Key="GlobalCache" /> then the control.... <dataControls:DataFormComboBoxField x:Name="cmbStates" ItemsSource="GlobalCache.Instance['...

Dependency Properties and Data Context in Silverlight 3

Hello, I am working with Silverlight 3 beta, and am having an issue. I have a page that has a user control that I worte on it. The user control has a dependency property on it. If the user control does not define a data context (hence using the parent's data context), all works well. But if the user control has its own data context, the...

How do I insert a new row with the silverlight 3 DataGrid (and not use the DataForm)?

In silverlight 2 it was possible to add new rows to the collection through the DataGrid. But in silverlight 3 I cannot figure out how to do this without using a DataForm. Any idea? ...

Tools to convert html layouts to Silverlight 3.0

I have a couple of applications for clients that were dragged into the web kicking and screaming. I'd like to take a crack at moving some to Silverlight 3.0 if even just as a proof of concept exercise. I'd like to see if I could make them full apps, layout and all. I think the layout of the web app along w/ the graphics is good and do...

Problem passing querystring from from silverlight to http handler

I am using Silverlight 3 beta and Visual Studio 2008 SP1 for this. In the web application (Server side) I have a HTTP handlter ImageFetcher.ashx which expects an ID parameter from the query string and retrieves the data from database and writes it to output stream. This is working fine and I have tested it with a test aspx page adding a...