Quantcast
Channel: Joe Stevens' Blog » Silverlight
Browsing all 9 articles
Browse latest View live

WCF Services and Silverlight

After looking at WPF the other week I thought being a web developer it would be beneficial to look at Silverlight.  One of the first things I was interested to try was to access the server’s file...

View Article



Wrapped Listbox items in Silverlight and WPF

I wanted to display a list of image thumbnails similar to how Windows Explorer does it so they are displayed horizontally and wrap onto the next line. The ListBox allows you to choose a template for...

View Article

Set Silverlight Image Source from byte array

I’ve been playing around with Silverlight and WCF services and I came across the need to set the Source of an Image control in Silverlight from a byte array. I have a service method which returns an...

View Article

Passing a byte array to a WCF method from Silverlight – The remote server...

My Silverlight application calls a method to get an image from the server as a byte array. When adding my Service Reference the ServiceReferences.ClientConfig automatically generated the binding’s...

View Article

Alert, confirm and input message boxes in Silverlight

To use alert, confirm and input message boxes in Silverlight you need to import the following namespace. You can then show an alert box by doing… Or a confirm dialog by doing… Or an input prompt by doing…

View Article


Setting the SelectedItem in a Silverlight TreeView

I wanted to select a specific item in my Silverlight TreeView programatically.  Looking at the TreeView.SelectedItem property the setter is not public so it cannot be done this way. If you are simply...

View Article

Simple double click in Silverlight

I needed to pick up on a double click on an image in Silverlight but there is no event to handle this. It can be done quite easily using a DispatchTimer.  I am doing this for an image but you should be...

View Article

Resize image with Silverlight and FJCore before uploading to server

I have a Silverlight application which allows the user to select images from their local PC which are then uploaded to a server via a WCF Service. It is easy enough to resize the image once it gets to...

View Article


Linq to SQL with WCF Services

I was interested to see how I could use Linq to SQL with WCF Services to load and save data using a Silverlight project.  In this post I will expand upon the database I created in my Linq to SQL...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images