silverlight

Can Silverlight communicate with a MIDI instrument?

Can Silverlight communicate with a MIDI instrument connected to the machine running the Silverlight application? In- or out-browser. ...

Silverlight 2 Zindex Issue on ASP.NET Page IE6

I Have a Silverlight Menu on a ASP.NET page, on this page bellow the menu there's a Html Table and bellow the table there's a dropdownlist. The silverlight DIV is position: absolute; z-index: 999; The silverlight App is designed with zindex in its elements, is windowless, and background transparent. This Works fine on Firefox however...

Silverlight datagrid synchronized scrolling

I have two silverlight (2 or 3) datagrids (from the July 2009 Silverlight toolkit) positioned one on top of the other. The top datagrid holds values, the bottom datagrid holds summary values (e.g. total). I want their respective columns to be aligned at all times, even as the user changes the column header widths, column order, and as th...

Differences between Silverlight 2.0 and 3.0

I am migrating a graphics intensive Silverlight application from 2.0 to 3.0 and at the same time evaluating if there are new features in Silverlight it could expose. What features would you suggest are the most important new ones in Silverlight 3.0? I have gone over the Silverlight Wikipedia article which suggested the following are th...

Hosting a long running process in IIS

Hi All, I have a design scenario that is giving me a few headaches and I'm wondering what solution is the best solution. I have a dashboard-like application that polls information from a service that requires a java RMI connection to gather real time data. I'd like to implement that dashboard component in silverlight and provide the...

Recommended architecture for a .NET Facebook Game

What is a good architecture for implementing a real-time, multi-player Silverlight-based game that is intended to integrate and run from Facebook? The idea is to build a Silverlight-based game that uses social network information from Facebook as part of its play environment. Specifically, Where should the game rules be implemented,...

Microsoft Dynamics CRM UI: Silverlight WCF Call inside sitemap

Hi all, I've built a Silverlight Dashboard to be hosted in Dynamics 4.0 UI (sitemap link) - It calls a WCF service which inturn uses Linq to Sql (with a CrmImpersonator) to query the CRM database. It all works on my Dev machine but when I deploy it to our development server I get the following javascript errors: "Unhandled Error in Si...

How to use Entity context in entity class for performance?

Suppose I have project MyData, then I add MyDb.edmx with EF wizard. In My database, I have table Person. Then I will get an entity Person in EF model. Then I want to extend this Person by partial class in a separated file person.cs like: namespace MyData { public partial class Person { [DataMember] public int ...

WPF/Silverlight Tookit Chart - Bind series to ObservableCollection

Is it possible to have a dynamic number of series for a WPF toolkit line chart? Every example I find declares the series manually. I want to be able to have this type of data: ObservableCollection<ObservableCollection>ChartPoint>> When I add or remove ObservableCollections to the main OC, the chart should add or remove series. I hav...

Page "navigator" like Acrobat Reader in Silverlight

Hi All, I'm implementing an app that's kind of an image viewer, where we load an image and we can zoom and pan and some other stuff. Now i'm trying to implement a sort of a minimap, or page "navigator" like Acrobat Reader has that allows you to know what section of the page you are looking at when you zoom in (in Foxit Reader it's the "...

Binding to the actual of a UserControl in Silverlight?

Seen some questions on SO but none answers my question. What I want to accomplish: I have a custom control (lets call it A) which moves around the canvas using a storyboard. And I want to bind another custom control's canvas (lets call it B) position onto the first control. Using the TransformToVisual(Application.Current.RootVisual) I...

How to implement a Query with IQueryable in SilverLight

I have two tables customers, pay and want to implement a gridview in silverlight with the outcome of the relationship of these two tables, the query is as follows SELECT Pa.Tipo_Pagare, Pa.Pagare, Pa.Rut, Cli.Nombre FROM Cred_Crexsa.dbo.Pagare AS Pa INNER JOIN Cred_Crexsa.dbo.Clientes AS Cli ON Pa.Rut = Cli...

Best practices for Domain Service classes in RIA Silverlight projects

I would like to ask whether or not is a good practice, to hold the CRUD operations for business objects, in a single domain service class. Should we provide a domain service class for each BO? ProductDomainService.cs CustomerDomainService.cs ... or a single BusinessObjectDomainService.cs ...

Silverlight Child Windows

Is there a way to make a Child Window in Silverlight 3 non-draggable? ...

Bind to the page datacontext from a combo box in a data grid

I have a page with a view model. I am trying set the binding source of a combo box from a templated DataGrid column to the view model. It gives me a null reference error. This is my XAML: <navigation:Page.Resources> <vm:SiteViewModel x:Key="viewModel" /> </navigation:Page.Resources> <navigation:Page.DataContext> <Binding...

User Control Data Binding in Silverlight/MVVM.

Do DependencyPropertys default to two way binding? If not how do you specify? The reason I ask is that I have the following user control which is causing me problems... <UserControl x:Class="SilverlightApplication.UserControls.FormItem_TextBox" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas....

How to write an offline silverlight application?

How to write an offline silverlight application? In which I have a database running on databse server,Application running on application server ,however if user wants to run the application in offline mode then the same ui can be seen to him in offline also all the data stored locally in the files which can be synchronised later. ...

Gorgeous Silverlight 'OSX ScreenSaver esque' Animation How-To?!

Any ideas How to recreate similar animations to the gorgeous colourful swirly thing on THIS SITE?!?! ...

Benefits of MVVM over MVC

Hi to all, Finally getting to do some Silverlight development and I came across MVVM. I am familiar with MVC and the article I was reading said because of XAML, MVC would not work out. Not having too much experience in XAML clearly is the reason I did not get this point. Can someone explain why MVC is not suited and why MVVM is better ...

NET Ria Services - Unit testing business logic

Hello, When reading the overview document, there are examples of how to test GetSalariedEmployee and InsertEmployee. When trying to code a test for UpdateEmployee i want to check that repository's Attach method is called with the two parameters, but ChangeSet is null when there are no changes, so no calls can be made to ChangeSet.GetOr...