silverlight

Is WPF & SilverLight Design worth learning

Hi, For a developpeur who as to do a project with WPF or Silverlight (xaml code), is it trial to learn some design (basics) and to handle blend? Beacause in France there isn't much blend professional (compare to photoshop users) and the price/day of a blend designer is very high. What I am sure is there i ain't no artist, but it could...

Adding additional entities to a Entity Framework backed Domain Service

We're investigating using RIA Services (July 09 Preview) to expose parts of an existing EF model. We've added a Domain Service class to our web application and specified the EF model to use and selected a few of the entities we wish to make available via the domain service (some have editing enabled, most do not). We build and everythi...

Silverlight 3: sizing model / 100% size

Sorry for asking an complete n00b question, but I've tried everything I can think of and nothing has worked. Google hasn't been too useful, all the results are from ancient versions of Silverlight :( The problem: I've got an Silverlight User Control. The layout root is an Grid. The grid is defined so: <Grid.ColumnDefinitions> <C...

How maintain the Silverlight application state aftwer the user press the browser refresh button?

I'm learning Silverlight 3 and, in all of my tests, when I press the browser refresh button, the SL application restarts. Is there any way to avoid this? ...

Why image with transparent background not visible in Silverlight?

I have created an image to use as a ruler. It has black lines and text on a transparent background and is in PNG format. After adding it to my XAML I was surprised to find that the image was not visible, and even more surprised to find it was visible in Blend when I loaded the XAML file there. What might cause an image to be invisible w...

Can I use Ninject for Prism event aggregation in Silverlight?

I'm looking into doing a project in Silverlight 3 using Prism and I really like the eventing aggregation as shown here http://development-guides.silverbaylabs.org/Video/Prism-Eventing All the resources seem to be pointing to using Unity with Prism and not Ninject. In Ninject is there a similar way of aggregating events? Or if I want to ...

The .NET Reactive Framework, IObservable, and Linq over Events

Has anyone had a good look at the new Reactive Framework? This implementation of "Linq over Events" was apparently distributed with the new Silverlight 3 Toolkit, as a way to manage asynchronous events. This approach seems to be great at handling events. One could attach an IObserver to mouse events and record them asynchronou...

Are there any free currency textbox controls for Silverlight?

If not, what's the best way of sanitizing users' input (keyboard and pasting from the clipboard)? ...

How do I create a silverlight editable listbox?

My DataTemplate for my ListBox has a TextBlock in it. If I click on the TextBlock, I want it to change to a TextBox so I can edit it. Is there a good way to do this? ...

Is it possible to use jruby to write an applet or is it better to use iron ruby for silverlight?

If I wanted to dabble with ruby, would it be easier to write an applet in Jruby or a Silverlight XAP with iron ruby? So far all I have is a vague idea that it might be possible. ...

Silverlight DatePicket and TimePicker initialization

I'm using DatePicker and TimePicker from the toolkit. I've got to hook up on the SelectedDateChanged event and I'm also setting the values in code. My issue is that when I initialise both controls the SelectedDateChanged event doesn't get fired synchronously. That's quite a big issue for me because it means I initialise the control and ...

Clipboard Support in Silverlight 3

I'm looking at developing a Silverlight application that displays a lot of information in a DataGrid. I want to somehow give the users the ability to copy this into Excel via the clipboard. Is this even possible in Silverlight 3? ...

Why does my WebClient request work differently depending on it's hosting solution?

In it's very basic form I have a WebClient request for some xml in a Page.xaml code behind. Something like: public Page() { InitializeComponent(); Uri uri = new Uri("Dummy.xml", UriKind.Relative); WebClient webClient = new WebClient(); webClient.DownloadStringCompleted += new DownloadStringCompl...

WPF binding not working properly with properties of int type

Hi, I am having a property of int type in my view model which is bound to a text box. Everything works properly, two way binding works fine except in one case - If i clear the value of text box, property setter doesn't gets called and although value is cleared in text box, property still holds the previous value. has anyone faced simi...

Can i add a .xap file into another project

Basically i want to utilize the Silverlight Video player on Codeplex in another Silverlight application. Is this possible. Can anyone point me in the right direction on how to achieve this? Thanks J ...

What's the most impressive Javascript/Flash/Silverlight example you've seen?

What is the most impressive "rich internet application" - which is usually Javascript/Flash/Silverlight - that you have experienced? I find Google maps is like Javascript/Flash voodoo and more specifically Google Streeview wins hands down. But I'm interested to know others. ...

auto resize width of treeview with a gridsplitter

Hi, I have a silverlight3.0 aplication with a Grid. The XAML is below. I'd like to have the TreeView control resize and content wrapped when the user changes the width of the left column. Currently the treeview displays a scrollbar instead of wrapping. On the right column this works fine as there isno treeview but stackpanel. The same...

Silverlight and Model View Controller Pattern - do they play nice?

I'm exploring my options for creating a web app that will play instructional videos (among other things). I want to use silverlight for the video player and for WPF. But I would also like to offer a non-silverlight version of the site for those who may not want to download silverlight their first time visiting. So I'm thinking I can u...

What's a good emulator to port to Silverlight 3?

I'm thinking about attempting a port of an existing emulator code base to Silverlight 3. There appears to be enough functionality with WritableBitmap and the new sound classes to make a port feasible. Is anyone familiar with an emulator that's open source and might not be too hard to port? I'd really like to focus on moving the media ...

Get MAC address in Silverlight

Is it possible to get the client's MAC address from a Silverlight app? It would be ideal if the solution works OOB too. ...