silverlight

How to bind ScaleTransformation.X to slider in Silverlight 3

Hi, I need to zoom Canvas. In WPF it is possible to bind ScaleTransformation.X to slider.Value. I'm not able to do the same in Silverlight - some errors. Is it supported in SL3? Thank you. ...

Silverlight Multiple Application Debugging

I have three Silverlight 3 applications in the same solution. In my asp.net hosting project I have a seperate page for all three projects. When I navigate between the pages, the only Silverlight breakpoints that get hit are the ones the initial page I load. This problem has only started recently. I used to be able to debug between all s...

Can I get a byte[] from a BitmapImage in Silverlight?

I'm trying to pass some representation of an image back and forth between Silverlight and a WCF service. If possible I'd like to pass a System.Windows.Media.Imaging.BitmapImage, since that would mean the client doesn't have to do any conversion. However, at some point I need to store this image in a database, meaning the image represen...

How to bind more than one value to a DatagridTemplate column in silverlight?

I have a column with a button for edit the row, but the id key is not a only value, but three value. How can I set the three value in the button so that when onclick the button, I can get three value in the code behind? The Column <dg:DataGridTemplateColumn Header="Edit"> <dg:DataGridTemplateCol...

Weird ItemsPanelTemplate issue (possible Silverlight bug?)

Hi I'm trying to create a horizontally oriented stack panel that contains a vertically oriented stack panel of items. Here's my code. First the XAML <UserControl x:Class="SilverlightApplication1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="...

blurring a web page in silverlight

hi, i have a web page that has to go dim on page load and some box comes over. the box has to have a TextBox. this box takes some input from the user. and on click on a submit button the TextBox info is to be checked on server and then accordingly the already dimmed web page may go normal(usable) or keep dimmed. very much like...

UIElement.AddHandler

Has this been removed from silverlight 3? http://msdn.microsoft.com/en-us/library/ms598899%28VS.95%29.aspx I see documentation on how to use it, but when I try it says UIElement doesn't have an addhandler method ...

Silverlight ComboBox source code

Where can I get the source code for this? I need to extend it. ...

Automatically have a viewmodel update the domain context and submit changes (Silverlight/RIA Services Nov beta)

I am really stuck trying to implement RIA Services with MVVM and a crud datagrid. I think i'm missing some key idea. All of the examples I have seen use a submit button or similar to send the data back to the client. I'd rather submit as soon as a row is added/deleted/modified. I thought of a couple of approaches: Have my IEnuerable It...

Open source projects using asp.net mvc + silverlight

Are there any open source projects using both asp.net mvc and silverlight together? ...

Best practices for Silverlight usage in a ASP.NET MVC application

What are the best practices for ASP.NET MVC and Silverlight usage in a web application? To be specific which libraries/frameworks (like prism) should be used in order to make the application unit testable and develop rapid? How one should pass data to the silverlight part from asp.net mvc (binding if possible?) and vice verse (from asp.n...

wshttpbinding support in silverlight 4

Does silverlight 4 beta supports wshttpbinding (wcf)? If not, will it be supported in stable release? ...

How can I link to a MySQL Database in Expression Blend?

Can any one point me to a tutorial, or tell me how to, connect a MySQL Database to a Silverlight Project in expression blend? Is an ODBC connection like this even possible in Silverlight? Thanks Sebastian ...

Silverlight 3 Toolkit DataForm - No Cancel enabled?

Hey all! I have a Silverlight 3 datakit:DataForm bound to a ADO.NET Data Service 1.5 CTP2 datasource via the ItemsSource. A fragment is below... var programs = DataServiceCollection.CreateTracked( dashboardService, query.EndExecute(asyncResult)); this.ProgramEditForm.ItemsSource = programs; My DataForm definition is dea...

XAML grid column resizing when contents are scaled

Is it possible to automatically resize a grid column in XAML when its contents are scaled? Below are two screenshots to better explain what I mean. When the UserControl is first displayed it looks like: The intention is that the white rounded rectangle (with the textblock, combobox and slider) should always be positioned off to the ...

Silverlight streaming upload

I have a Silverlight application that needs to upload large files to the server. I've looked at uploading using both WebClient as well a HttpWebRequest, however I don't see an obvious way stream the upload with either option. Do to the size of the files, loading the entire contents into memory before uplaoding is not reasonable. Is this ...

C# DatacontractSerializer over Sockets multiple root elements

I am writing a Sivlerlight Chat application using Sockets and the DataContractSerializer. I have a class hierarchy of serializable objects with the definitions shared between the Silverlight Client and the C# Server. When a buddy logs on they send a message to the server and if they are verified they are sent an acknowledgment follow...

Assigning ease in functions programatically only

For unfortunate technical reasons with the software I use, it is near impossible to add ease in functons to my user control elements. If, for exampe, I have a UserControl (not the ones which come in a Silverlight 3 project), and I want to assign the bouncingeasein function to a specific control only via C#, how can I do this? Thanksc ...

Silverlight Data Grid

Hi, Is there any way to animate a row of my datagrid on a property change?? I want the row background to flicker when one of the values in the row changes. ...

Is there any kind of documentation available for Silverlight.FX ?

Silverlight FX looks like it will cover my MVVM needs, however I'm struggling to find good documentation on the behaviors system (or any good doco) beyond some blog posts which are from previously released versions. Specifically, I am trying to figure out how I can capture a RowCommit event from my view and have it invoke a method/even...