silverlight

Pixelvalues turn up negative

I want to save a writableimage in Silverlight to disk. I found this tutorial : http://kodierer.blogspot.com/2009/11/convert-encode-and-decode-silverlight.html, and have based my code on the EncodeJpeg method. But at the: pixelsForJpeg[0][x, y] = (byte)(color >> 16); it throws an exception : Arithmetic operation resulted in an over...

ASP.NET/Silverlight Control USB Device

I want to alert a user of a new message using some kind of USB device (e.g. a flashing light). Is it possible to control a USB device from ASP.NET or Silverlight? ...

Starting two WebClient.UploadStringAsync calls subsequently

When calling WebClient.UploadStringAsync twice, without waiting for the WebClient.UploadStringCompleted event, the following exception is thrown: "WebClient does not support concurrent I/O operations" Apparently, this is not supported. The reason for wanting to start multiple HTTP POST requests without having to wait for the previous...

How to initiate multiple HTTP requests asynchronously?

I'd like to start multiple HTTP requests rapidly after each other, without having to wait on the previous response to arrive. I've tried this using WebClient.UploadStringAsync, but this doesn't work. I'd like to efficiently implement the following scenario: Send request 1 Send request 2 Send request 3 And in another thread: Receive...

Height="Auto" does not work for TreeView in Silverlight 3.0

I`m trying to fill whole content of Layout with TreeView control. But I cant get height property to stretch. Here is part of the code: <Grid Grid.Column="0" Margin="2,2,2,0" VerticalAlignment="Top"> <Grid.RowDefinitions> <RowDefinition Height="40"/> <RowDefinition Height="*" /> </Grid.RowDefinitio...

How to display attached properties in Property Browser of blend for silverlight?

I created couple of custom controls and their childresn correctly shows the attached properties in Property Browser for WPF, but in silverlight none of the attached properties appear in Property Brower. How to add design time support for attached properties in silverlight? ...

How to build Caliburn in release mode

I can't make nant do a release build of Caliburn using their build.cmd. Can anyone tell me how to? What command line parameters should I use? ...

In Silverlight 3 can every cell of the datagrid be editable concurrently?

In an SL3 datagrid, is it possible to have every cell of the grid editable? I need to create a UI that's similar to an Excel worksheet. Upon a button click, the entire collection of objects would be submitted as opposed a single object or cell. Is this even possible, and if so how would I go about achieving it? Thanks. ...

Adobe AIR, Microsoft Silverlight, JavaFX and Mozilla Prism... What are your thoughts on this competition?

There are a lot of questions on S.O. about JavaFX vs. Silverlight vs. AIR, and now Prism is going to be released. These are four different technologies with a similar goal. I thought we could gather the main points -pros and cons- to consider one or the other in a community wiki question. Try to keep the flaming level at its lowest pos...

Are there any free Silverlight PDF controls?

Hey, I'm trying to both create and display PDFs in an OOB app I'm trying to make as part of a hobby. Does anyone know of any good controls for creating and displaying PDFs in Silverlight? ...

When To Update Various Parts Of A Master/Detail UI

I have a UI with a list of items and the detail of a selected item(typical master/detail scenario). In my case this is a Silverlight application but this question could apply to other programming models. When the application starts, the list portion of the UI is populated from a remote data source(SQL Server in my case) via WCF(which I c...

Launch local application with Silverlight

Hi everyone, I would like to know if there is any way to launch a local application with silverlight. I'm having some security problems doing this with a user control embedded in IE 8, so I would like to convert this into silverlight app. This little issue is stopping me to go forward with silverlight, so if any suggestion, I would appr...

WCF Ria Silverlight 4, wrong list returned

I have a DataService returning an IQueryable I breakpoint at the "return" statement, list looks fine. I breakpoint at the Async callback method, and all the elements in the list are identical objects. Any Ideas? ...

SL3 Dataform Datafields in Border

Can you surround Datafields in a border? I have a large form that needs to be organized into sections, "Customer INformation" for instance. Is there a way to surround these with a border? ...

What are the topics to ramp-up on when starting Silverlight\Web development?

I've been asked to do some work on an existing Silverlight project, mainly extending it a bit and doing bug fixes as needed. But there are a couple of ASP.Net pages too and a WCF service to deal with too. My background is desktop development with .Net so I think this is a good opportunity to start getting more involved in Web developme...

Best Silverlight Controls

Who provides the best 3rd party Silverlight controls for LOB applications? In the past I’ve used Infragistics for WinForm controls which were very good and they also provide good support. However, they seem to be a bit behind the likes of Telerik in the Silverlight space. I’ve also noticed the Silverlight toolkit as well – are these as r...

How to call webservice in Silverlight which is added to Cloud Service Project?

Hi! I would like to ask a question. One of my ex-colleague wrote one window azure project and now I need to continue this project. Web Service is in that window azure project and I need to call that web service in silverlight. Therefore, I add new silverlight project at that existing Window azure project. And when I am trying to add Ser...

Read InitParams into Service with Prism

I am building a Silverlight application that takes a single InitParam that will be used throughout an application (at least in a number of services). We are looking at building the app using Prism and what I would like to know is - how do we instantiate a service that takes this parameter and makes it globally available? ...

Silverlight or WPF?

I’m about to start work on a new LOB application which is mainly forms over data. I am going to use either WPF or Silverlight but am not sure which technology to use. Silverlight seems to have everything I need with the bonus of being cross platform as well. Is there any reason why I should use WPF in this context? or is Silverlight the ...

silverlight plugin is not working on server

Hello, i am using silverlight plugin 3.0 to display the chart.it is working fine on local pc but it is not working on server,it is not displaying any thing. i have checked the MIME type also in iis.its over there. please tell me whats the problem thanking you samir ...