silverlight

Discuss on Commercial Component libraries of silverlight

I am now looking forward to buy a component library of silverlight for increase the productivity. I find there are number of them. Telerik ComponentOne ComponentArt Infragistics Syncfusion I found more people talk about Telerik and ComponentOne on the Net, and so I did a try. Telerik seems more handy for the beginner lever, as many comp...

Can a Silverlight 4 out-of-browser app run other applications?

I read in a few places it can run "desktop programs such as Office" but I haven't seen any other details or concrete confirmation of this. Anyone know? If so, how can it be done if SL4 OoB apps only have read/write access to User Special Folders. ...

System.Windows.Media in ASP.NET MVC

Can I use the " System.Windows.Media" in the ASP.NET MVC application. Because I need to draw image using this. Is it possible or we need to use System.Drawing only for the Web Application ? ...

Configuring the timeout for a WCF RIA Services call from a Silverlight 3 client

I'm using the WCF RIA Services Beta with Silverlight 3.0 and I want to be able to configure the timeout from the client. I know that the underlying technology is WCF and the default timeout seems to be 60 seconds as I would expect. Is there an easy way to control this and other WCF settings? My first thought is to try the DomainContex...

Installing Silverlight plugin on offline PC - is it possible?

Let's presume you need to show your shiny new touchscreen-optimised Silverlight application to your boss during trans-atlantic flight. How can you do that on his notebook if the only thing you have is CD containing your application and (maybe) your trusty 4" pocket notebook without mouse controls (:)) but with silverlight plugin install...

Eyeball rotation

Hello, I'm developing a interactive eye follower. I want to rotate 2 spheres according to mouse movement. These spheres are representing the eyeballs.What is the best way to do this? I need to find the vector which points to the direction of the mouse current position, but i don't know how to find the rotation matrix for ball rotation. ...

WPF chart with x-axis selection

Hi Guys I've been searching around for a chart with interactive selection. The idea is you have a long narrow chart with a rectangle overlay which had a handle at each end, this overlay is effectively a selection of some data on the chart. You can expand the overlay to increase selection, also you can drag the overlay accross the charts...

Silverlight CustomControl Root Element

I am trying to build a custom control that I want to exist as the root element of my xaml. I currently have the generic.xaml template sorted. A new template in the blend folder that will allow me to make a new 'DaveControl' The ability in blend to add content to it that will appear in the contentpresenter. However, If I run it, the...

Binding property to Silverlight dependency property independent of DataContext

I'm trying to make an Address control that has an IsReadOnly property, which will make every TextBox inside read only when set to true. <my:AddressControl Grid.Column="1" Margin="5" IsReadOnly="True"/> I've managed to do this just fine with a dependency property and it works. Here's a simple class with the dependency property declar...

Synchronize keyboard selection with SelectedItem in ListBox

When using a Silverlight ListBox, I can programmably select an item by assigning to SelectedItem or SelectedIndex, and I can ensure that the selected item is visible to the user using the ScrollIntoView method. Doing this the item is correctly selected (the background of that item is blue), but the keyboard focus is left on the first it...

free XMPP/Jabber library for Silverlight

I need to create a silverlight chat application. I know that there is a library called Japper-net but it only works for .NET applcations and not for silverlight. My question is: Is there any free XMPP/Jabber client library for Silverlight? ...

Silverlight OOB vs WPF ClickOnce

Silverlight Out of Browser technology and WPF ClickOnce on the surface have similarities. Easy and simple deployment, the ability to specify the level of trust access to the underlying host, etc. What are the key issues I need to consider when choosing one over the other? To put a finer point on it, I'll be deploying LOB apps on a corp...

Silverlight closure with Google Maps

I'm using Silverlight as the client for an application that uses the Google Maps API. I use the HTML bridge to talk to the JS API and that works quite well. One of my issues was that I couldn't use closures. In a full JS environment, I would register an event on the map thus: google.maps.Event.addListener(marker, "click", function() {...

Change Silverlight Chart Legend Item Layout

I am working on customizing the layout of a Silverlight Toolkit Chart. I have two requirements: 1) Move the Legend area to the bottom of the chart (solved). 2) change the layout of elements within the legend to be displayed next to each other, ie. {legend 1},{legend 2},{legend 3}, rather than the default column format. 1) was easy to...

Silverlight: LineGeometry on a Canvas doesn't follow the cursor

In Silverlight, I'm trying to draw a line on a Canvas by setting the LineGeometry element's EndPoint to the cursor position. In the Canvas' MouseMove event, I'm doing this: line.EndPoint = e.GetPosition(this); where "this" is the Canvas. "line" is a LineGeometry element added to a GeometryGroup, and the GeometryGroup is added to a ...

PRISM View Injection inside ItemsControl

UPDATED (12/17/2009): Now reflects latest progress I've made. This is the first application that myself and a co-worker are developing using Prism and MVVM in Silverlight 3.0. I am working on a shell/framework for the project that will have a list of "plugins" that can be added to a "workspace". The plugins are registered with a WorkS...

Using Silverlight Bing Maps control for commercial apps

I am developing a commercial Silverlight application with the new Bing Maps control (Version 1.0), and so far I have not been able to find any answers on how to associate transactions with my Bing Maps developer account. I know the control is not free to use for commercial purposes, so there must be a way for me to give it a Bing Maps to...

is there a video codec that can be loaded by Flash and Silverlight seamlessly?

Hi is there any possibility for loading flv or f4v on silverlight platform? Thanks! ...

Editing newly added row in Silverlight 3 DataGrid using MVVM

I am trying to use the Silverlight 3.0 DataGrid with the MVVM design pattern. My page has a DataGrid and a button that adds an item to the collection in the VM using a command (from the Composite Application Library). This works fine, and the new item is displayed and selected. The problem I can't solve is how to begin editing the row. ...

Data Services Update for .NET 3.5 SP1 breaks clients, any ideas on rollback?

Ok... serious problem. I did the update, thinking that I could continue to use the CTP2 version of Microsoft.Data.Services.Client the library to connect till they updated the Silverlight bits. No go. Ok, I can live with that. I rolled back the service to the CTP2 libraries ( Microsoft.Data.Services + Microsoft.Data.Services.Client ) re...