silverlight-3.0

How can I get a transparent background for a DataForm in Silverlight 3?

I can't seem to get a transparent background for a DataForm in Silverlight 3 beta. The code below is what I am trying but it only makes the background partially transparent. Is there something I can do to fix it? <Grid x:Name="LayoutRoot" Background="Orange"> <Border Background="Blue" Margin="100,0,0,100"/> <Controls:DataForm ...

Silverlight 3 Validation using Prism

Hi there, I'm developing a SL3 application with Prism. I need to have support for validation (both field level (on the setter of the bound property) and before save (form level)), including a validation summary, shown when the save button is pressed. But the samples I can find googling are either SL3 with a lot of code in code behind (...

Silverlight 3 - TreeView Programatic scroll not working

I was able to follow Justin Angel's (Silverlight team member) advice from this question to scroll to a particular item in a TreeView. Unfortunately, it simply isn't working in my project. Based on Justin's advice, I implemented the extension methods he designed which allowed me to get a TreeViewItem from an underlying object and in trac...

ItemsSource type requirements for Silverlight 3 DataForm automatic Add/Delete buttons

What types can I bind to the ItemsSource property of the DataForm control in the Silverlight 3 Beta and automatically get the Add and Delete buttons to show on the control? I am making an application with RIA Services. I do have working add and delete methods in my domain service. I bound an EntityList of Contacts from the DomainContex...

silverlight 3 minimize to tray + drag and drop from desktop?

Hi Does anyone know if silverlight 3 will support minimize to tray and drag and drop from desktop? ...

silverlight out of browser - icons

Does anyone know how to change icons in Silverlight outofbrowser application? ...

Silverlight 3.0 out of browser versus WPF/Windows App - Summary of differences?

With the new Silverlight 3.0 feature that allows the components to be hosted outside of the browser, our company is looking for details on the differences between this new feature and WPF Windows applications (since Silverlight is partly a subset of WPF). Is there a good resource that lists the differences between Silverlight 3 outside ...

Invalid attribute value for property TargetType in Silverlight Custom Control

Any idea why I get this error with the following code? I'm trying to create a default template for a custom control in Silverlight 3. IInvalid attribute value custom:CaptionControl for property TargetType. [Line: 5 Position: 23] <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://...

How to send Linq data class via WCF and bind input control with this class property?

For strongly-typed & type-safe solution, I have to do the following step. Create some Silverlight application. Binding input control to Linq data class. Validate data by using rule from attribute of data class. Send data to server via WCF. But, I have some question. How to bind input control with linq data class property? How to d...

AG_E_PARSER_BAD_TYPE error when using DataForm control in Prism/silverlight 3

I'm using prism and SL3, as soon as I drop a DataForm Control in any modules, I get this error: AG_E_PARSER_BAD_TYPE [Line: 6 Position: 31] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at HelloWorldModule.Views.HelloWorldView.InitializeComponent() at HelloWorldModule.Views.HelloWorldView..c...

How to hide the header for Silverlight 3 DataForm control

I'm using the DataForm control in my SL3 app, it has a header with some icons by default (edit, delete, navigation etc. etc.), I can prevent most of the icons from appearing on the header, but want to get rid of the header all together. haven't had much luck with google... ...

Silverlight 3 validation DataForm with templates

I have a SL3 application in which I'm using DataForm for my data entry. I want my form to look in the way I like it, so, I use <dataControls:DataForm.EditTemplate> and inside the template I have my good looking form design. the main issue is, inside the template I have to use normal controls (like TextBox) instead of the "field" control...

How to Play Youtube video in silverlight3.0

I am developing a silverlight application in which i want to play youtube video. Any Suggestions plz. Any samples or any links for this to refer. Thanks in advance ...

Using element to element binding in Silverlight 3?

I don't really see the need for element to element binding in Silverlight 3 if using MVVM. Won't having one property directly affect another proper cause that property to be untestable? To me, it makes more sense to do a two way binding to a explicit property defined in the ViewModel. ...

Rules engine for Silverlight?

At the moment I'm developing a web based application using Silverlight 3.0. For the business rules I'm looking for a rules engine that's both easy to use for me and my users, which will work with SL3. Is something like that available out of the box or will I need to roll my own? I've Googled and looked around the various code sites (Co...

Ria Services - Delay load images (or any heavy binary data)

I have an RIA Service that returns image data (Byte[]) and caption of image (String) from SQL Server. The data part can sometimes be a few MB's so it can take quite a while to load. I would like to load the bytes independently of the caption (which loads very fast). Is there a way to do this without having to create a second image con...

TEAMBUILD: error MSB4057: The target "GetXapOutputFile" does not exist in the project

I'm getting this error trying to run my Build thru TeamBuild in TeamExplorer on Visual Studio 2008. On the Build Machine I installed VS SP1, Team Explorer, Silverlight 3 tools, and RIA Services. I can compile no problem with Visual Studio on my machine and directly on the Build Machine. But I still cant compile on thru TeamBuild becaus...

Stream a WAV File From The Web In Silverlight 3

I've managed to discover Gilles Khouzam's playback implementation for WAV files in Silverlight 3 and while that would be the majority of the battle, I'm stuck on a final detail: how do I pull a wav file from the web some place and then feed it into his WaveMediaStreamSource for playback? Here's the closest I've come: public MainCon...

Silverlight Navigation and Authentication service

I am creating a silver light application using Navigation app template. It is for internal use and hence uses windows authenticatoin. There is a dashboard page which shows couple of records filtered by logged in users id. To get the user id (which is an int) I call a web service by overriding the GetAuthenticatedUser and pass the usernam...

Best Data Access Layer for Silverlight

What's the best Data Access Layer strategy for Silverlight 2 and 3 apps? ...