silverlight

Getting .png pixel data in Silverlight

Hi all, We have a Silverlight application that needs to load a number of .png files. We can load the images OK, but Silverlight doesn't support reading the pixel data from the Image class. Can anyone suggest a simple solution for getting at this data? Our current best bet would be a third party .png loading library, but we are having...

Can I get the Silverlight mediaplayer to play .Vox files?

I need to play .vox files on my web page. Does anyone have any tips on how to play .vox files using the Silverlight Mediaplayer control? ...

How do I build a Style Library for use in Silverlight Class Libraries?

I have a Silverlight application that is built from a set of Silverlight class libraries. I would like to create a common Silverlight library that contains a set of resources used to define the styles used for all the Silverlight UI libraries. This would be simlar to the <Styles>'s defined in the node within App.xaml file. Is this po...

Design-time rendering of Silverlight controls in Expression Blend 2

I'm working on some Silverlight controls and I would like to explicitly handle the way they appear in Blend. Specifically, these controls have dependencies that are initialized at runtime, and thus throw exceptions in the designer. But even in the absence of the exception, I would like to make them appear a certain way in Blend. I know ...

Best way to change ListBox selection to be a toggle selection

I have a ListBox control that I want to change into having a toggle selection. i.e. Click once on an item selects it, click again it deselects it. Also, clicking another item in the list should do the default action of deselecting the previous item and selecting the new one. What's the best way of achieving this? ...

silverlight with ajax

im wondering if any one tell me that if i want to use silverlight with ajax how wil it be possible for me but remember that im a beginer so send me such document or code that will be helpfull for me to understand plz send it to [email protected] thx regards Arshad Ali Leghari ...

Moving Silverlight 2 popup windows

We are using popup windows in a Silverlight 2 application; these can be moved in the standard way by clicking on the title bar and dragging. If the title bar is dragged out of site behind the browser chrome, the window can no longer be moved. We have users that consider this problematic and I was wondering if there might be some other ...

How can I setup a Right Click context menu in Silverlight?

I want to create a right click context menu for my textboxes to provide the typical copy/paste functionality. Any ideas on how to go about this? ...

SilverLight DataGrid: Copy & paste

Hi everyone, Is there a way that I can select a bunch of rows or cells from a SilverLight DataGrid and Copy them for pasting into e.g. excel? The DataGrid doesn't seem to have this functionality built in! Thanks a lot ...

SilverLight DataGrid: Export to excel or csv

Hi everyone, Is there a way I can export my Silverlight DataGrid data to excel or csv? I searched the web but can't find any examples! Thanks a lot ...

How to mock ADO.Net Dataservice calls from Silverlight

Has anyone found a good method of mocking out ADO.Net Data Service calls from a Silverlight application? The power of Data Services seems to be the use of linq, client side, over entities. However when testing the objects that do the data access how can you mock out the service? One way is to create an entire mock Data Service, but th...

How to rearchitect Hibernate DAO layer of ASP.NET app to move it to Silverlight?

Last try to get an answer on this. I have a simple ASP.NET app which uses Hibernate for data access. GUI can call methods on Customer object like "CalculateTotalSumOfOrders()". Lazy loading (even though it's not optimal) will work for me, and when Orders and OrderLines collections are referenced in the domain objects, they will get auto...

How do you force Firefox to not cache or re-download a Silverlight XAP file?

When working with Silverlight, I've noticed that Firefox will cache the XAP file, so if I do an update, a user may be stuck using an outdated version. Is there a way to force the browser to either re-download the XAP file every time, or maybe only force it to after an update has been published? Or is there a setting in the Silverlight ...

Preventing Screen burn

I've written a helpdesk monitor application that is designed to sit on a big plasma screen in a support department, the application has 5 views that it revolves around, the content of most of those screens is different, but they have some common components, being one silverlight control and a css background image. I'm worried that over ...

Silverlight Unit Testing

Hi, I'm using the Silverlight UnitTest framerwork does anyone have a good example have how to unit test an application with it? I'm using it quite successfully to unit test a silverlight class library. Any pointers and links would be greatly appreciated. Thanks, Nath ...

Silverlight TreeView - Load data when node is expanded

Is there a way to only load child nodes when the parent node is expanded? The problem that I’m running into is that the “expand” icon doesn’t show up if a node doesn’t have any children. Since I don’t want to load the children until the icon is clicked, I’m left with a bit of a catch 22. ...

W3C Involvement In Flash & Silverlight

It seems to me that the key USP of Flash/Silverlight is the ability to provide access (albeit indirectly) to the graphics subsystem of the client, enabling video, smooth transitions and "fancy" visual effects. This sounds like a good idea, and a natural evolution/extension of HTML. But surely it would be better if someone like the W3C c...

Pressing Enter on TextBox in Silverlight

I am working on a silverlight app that you need to enter information into a textbox and then just hit enter. Well there is no onclick event, that I could find, so what I did was use the onkeypressup event and check if it was the enter key that was pressed if so do "blah". It just feels like there is a better way to do this. So the que...

Silverlight Design Architecture

Is there a good Silverlight Design Architecture? ...

Learning Silverlight as a non .NET developer

There are several people about (myself being one of them) who have been developing RIA for a while now using Flex and AJAX. However Silverlight is now on the scene and worth picking up. Question is, as someone who has never looked at .NET before, should I just dive in Silverlight and try and make up the bits I'm missing, or start somew...