silverlight

What browser(s) does Silverlight 3 and/or 4 run under?

Here is an easy question. What browser(s) does Silverlight 3 and/or 4 run under? I know IE is one of them. ...

DataContractJsonSerializer Compatibility

I have a silverlight control which makes an HttpWebRequest to an HttpHandler on the server side. The request is a post. The body of the post is an object serialized using the DataContractJsonSerializer. The Silverlight control is SL 4.0 Beta and the Handler is .net 4.0 Beta. When i inspect the streams in the silverlight control the seria...

Overlaying Html Content on top of Silverlight App

I have a silverlight application that I am embedding in an existing ASP.NET web application. The web application has several drop-down navigation menus that would normally cover part of the silverlight app. I am aware of embedding the app using "windowless" mode, and if I do so the HTML menus show up on top of the silverlight plugin and ...

Silverlight Client Performance and Resource Usage

I'm tempting to use Silverlight 3 tio create a LOB Application but I'm no quite comfortable into measuring client resource usage (CPU and RAM). Is there a way to measure exactly how much RAM /CPU a Silverlight App is using on the client ??? Are there any tools for this ? ...

How to have rows in a bound Silverlight grid act differently based on column values?

I would like to have the rows in a bound Silverlight grid act differently based on column values. Specifically, I need the following Grid to make a row inactive(read-only) and show up as a different color based on a column value <data:DataGrid x:Name="griTemplate" Height="169" VerticalAlignment="Top"> ...

Hosting Silverlight widget from local file system

I'm trying to host a remote Silverlight widget in an html file that will exist locally on the hard drive, but whenever I open the html file, the Silverlight content does not show up. If I move the file to a web server and then access it through http, it works perfectly. I figured out (or at least I assume) that the widget is trying to ...

How do I make a client-side helper class in Silverlight?

In Silverlight, I call my Silverlight-enabled WCF service asynchronously to retrieve, say, a list of values for a combobox. On the server, I cache these values for performance. But I want to cache them on the client to prevent the unnecessary round-trip. Now, I understand how to use local storage to cache them except that I do not want ...

MVC in Silverlight

When I discovered MVC (first with ASP.NET MVC), I thought it was the holy grail of software paradigms. I recently started to dabble into Silverlight and noticed that the VS projects start off with pages similar to Forms (Web and Win) with code behinds and .xaml as the design. Is there an equivalent to MVC in Silverlight (both for web ...

Silverlight Datagrid Filter

Good Day, I have a datagrid in Silverlight that filters data when the user clicks on a cell, then clicks on an button icon in the column header. I know how to determine which column the user selected as well as what the selection was. My datagrid is bound to an ObservableCollection of T where T is a custom businss object called Equipm...

Access ResourceDictionary items programmatically

I have a Silverlight controls assembly, called "MySilverlightControls". Several folders down into that assembly i have a class which extends a grid column from a third party vendor, let's call it "MyImageColumn.cs". I have also created a resource dictionary called Generic.xaml, this is situated in the Themes folder of the assembly. In t...

Opening XamWebDialogWindow on button click in silverlight

Hi Can anyone send me the code for opening a XamWebDialogWindowon button click in silverlight. I am using a MVVM model and capturing button click in Controller ...

Porting python app to silverlight or flash

I guess that title is self-explanatory. Is there any such effort been made? Some more info: it's client application (gui intensive) By porting I was thinking of cross-compiling. ...

DataGrid with DataForm, same ItemSource converter issues

Im fairly new to SL3 and getting used to binding and converters. I have a DataGrid and DataForm, one property of the Class they are bound to is a TimeSpan. Im using a Timepicker control in the form so I need to convert between DateTime from the control and TimeSpan on the object. The converter is as follows #region IValueConverter Me...

WPF/Silverlight image/video playlist

Hi, I'm somewhat new to WPF/Silverlight so please excuse my ignorance if thw answer is blindingly obvious... I have the requirement to create a piece of software which gives the user the ability to schedule a playlist of images and videos (possibly flash content too but this isnt essential). I've had a look at various WPF/Silverlight ...

Silverlight 4 - Am I using TransformToVisual() correctly?

I have just started to play around with Silverlight and I decided to do a small app in Visual Studio 2010. I am trying to find the current position of a usercontrol in a Canvas. Here is the XAML layout: <Grid x:Name="LayoutRoot" Background="#FF141313"> <Grid.RowDefinitions> <RowDefinition Height="39"/> <RowDefinition...

Silverlight: Auto scrolling page when tabbing to different textbox

I am using silverlight 2.0 with C# for my application. Few of the pages are quite long and contain quite a few of textboxes. The question I have is: I use 'tab' to move between the textboxes on the page. When I tab into a TB that is not shown on the page - how can I make it so that the pages autoscroll to display which field I am on the...

Silverlight Paint control

I am looking for a very simple Paint control in Silverlight. It should allow the user to load an image as background, to paint simple shapes and to add text labels. ...

Update a local/client Microsoft Access Database from a server (MS SQL Server2005)

I've got a website that runs on a shared hosting environment, using ASP.net 2.0 (C#) and MS SQL Server 2005. I've recently been asked if I can integrate my website with a piece of third party desktop software that uses the Access runtime as its database (transparent to the end user). Primarily I want to be able to offer users of my web...

Is Azure good for hosting a beginner Silverlight project?

I want to learn a bit of Silverlight by writing a simple proof-of-concept RIA. I am looking for hosting that is free and has minimal IT/configuration concerns. I see that Azure has a free introductory special. Is it advisable to go with Azure, or is there another, simpler offering out there? (I have intermediate web dev experience (Djan...

How to automatically select first item in a bound silverlight listbox?

Using silverlight, I have a listbox with ItemsSource bound to an ObservableCollection which is updated asynchronously. I would like to automatically select the first item in the listbox as soon as the binding is finished updating. I can't find a good way to make this happen. I don't see any useful events to handle on the listbox and i...