silverlight-3.0

System.ExecutionEngineException PropertyChanged

Hello, If anyone can provide some help for this one, I'd be very grateful! We are using: Silverlight 3 / MVVM / Blacklight DragDock Control / ComponentOne Silverlight Controls I have a Silverlight application that relies heavily on the MVVM pattern. The application has seemingly been running fine, until recently. I have started to no...

Error using ResourceDictionary in Silverlight

In my Silverlight app I have UserControl and I want to reference a StaticResource in a ResourceDictionary that is in a separate XAML file. My UserControl looks like this: <UserControl x:Class="ResourceDictionaryHeadache.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsof...

Silverlight service reference deployment

Hi all. Im having issues deploying a silverlight 3 application for the first time. The issue is with a service reference, the Authentication one. This all works fine locally inside of VS 2008. I cannot add new service and discover the hosted one. Eg the localpath is http://localhost:9626/Services/AuthenticationService.svc But if i ...

How to Reset Silverlight View in ViewModel Without Creating New Instance

In my application, I instantiate a new instance of my view in its associated viewmodel's constructor. I also have some events to subscribe to with an event aggregator. public class FooViewModel { private FooView TheView { get; set; } private IEventAggregator Aggregator { get; set; } public FooViewModel() { Aggre...

BusyIndicator.Message Binding to Collection of strings

I'm trying to binding a SL BusyIndicator to a collection of busy messages. When the collection has items, the indicator will display the messages. When the collection of messages is empty the indicator will hide. First off the indicator is not displaying my messages, all I see is a blank indicator box, with an indeterminate progress bar...

What browser(s) does Silverlight 3 and/or 4 run under?

Here is an easy question. What browser(s) does Silverlight 3 and/or 4 run under? I know IE is one of them. ...

Silverlight Client Performance and Resource Usage

I'm tempting to use Silverlight 3 tio create a LOB Application but I'm no quite comfortable into measuring client resource usage (CPU and RAM). Is there a way to measure exactly how much RAM /CPU a Silverlight App is using on the client ??? Are there any tools for this ? ...

Silverlight 3 Progress Bar when uploading a file.

I'm new to Silverlight and I have created a silverlight application to resize and upload images. The problem is the scroll bar doesn't update until the file has finished uploading. I have included sample code of the PushData function and the event handler. Please someone tell me what I'm doing wrong this problem is driving me crazy. v...

Silverlight Datagrid Filter

Good Day, I have a datagrid in Silverlight that filters data when the user clicks on a cell, then clicks on an button icon in the column header. I know how to determine which column the user selected as well as what the selection was. My datagrid is bound to an ObservableCollection of T where T is a custom businss object called Equipm...

Access ResourceDictionary items programmatically

I have a Silverlight controls assembly, called "MySilverlightControls". Several folders down into that assembly i have a class which extends a grid column from a third party vendor, let's call it "MyImageColumn.cs". I have also created a resource dictionary called Generic.xaml, this is situated in the Themes folder of the assembly. In t...

Opening XamWebDialogWindow on button click in silverlight

Hi Can anyone send me the code for opening a XamWebDialogWindowon button click in silverlight. I am using a MVVM model and capturing button click in Controller ...

DataGrid with DataForm, same ItemSource converter issues

Im fairly new to SL3 and getting used to binding and converters. I have a DataGrid and DataForm, one property of the Class they are bound to is a TimeSpan. Im using a Timepicker control in the form so I need to convert between DateTime from the control and TimeSpan on the object. The converter is as follows #region IValueConverter Me...

Silverlight Dataform Question

Whenever a user adds a new record to the dataform I want to auto populate a field(integer datatype) with a default value, but I am not sure how to do this. I should also mention that I am populating the dataform using RIA services. Any ideas? ...

How do I replace a ControlTemplate part at runtime, in Silverlight 3?

I'm writing a custom control which uses a template defined in the resources section of my XAML and I'd like to replace one or more template parts in an instance of my control at runtime. For example, if I have a part named "ActivePart" in the control's template, how do I replace the ActivePart's FrameworkElement in an instance of the co...

Silverlight Toolkit DatePicker error indicator

I don't seem to be able to get the red border line error provider for my date picker controls. I'm throwing validation exceptions on the setter of the bound to property as I have with my other controls on the form. I get the error indicator on all my controls on the form but the date picker ones. any help appreciated. ...

How can I locate a field in a Silverlight 3 DataGrid?

I need to locate a cell/column in a Silverlight 3 DataGrid so that I can call UpdateSource on it. How can I do that? This is why, in case you're interested: I have a DataGrid in a Silverlight 3 app which displays objects which are decorated with DataAnnotations attributes such as [Required], for validation purposes. I'm populating th...

Referencing a custom obj, declared as a static res in xaml, is null. Why?

I have a small Silverlight 3 test application. This is an exercise in learning Silverlight, XAML, binding, etc. I have a small test class (Test), which has three properties; Val1, Val2, and Sum. I have declared a resource in the XAML as follows: <UserControl.Resources> <app:Test x:Name="xamlTestObj"></app:Test> </UserControl.Reso...

Multiple Out-of-Browser Applications in One Application

I'm looking at a scenario where I need to create a single "master" Silverlight application and then add "child" applications for an out-of-browser Silverlight application. The scenario is something like this. A user will visit a gameboard web site and choose a game to play. Let's call it Checkers. He likes it, so then he insta...

Mutually Exclusive SelectedItem

I have a treeview and a datagrid. When I select an item on my datagrid, I want to set the selectedItem on my treeview to null, and when I select an item on my treeview I want to set the selectedItem on my datagrid to null. I'd also like to have a central FocussedItem notification property that both the treeview and datagrid update with...

Silverlight and Thickbox

I am having some trouble with silverlight's z-index. I have a thickbox dialog that pops up but my silverlight gallery is still pulling up on top, hidden most of the modal dialog. Has anyone experience this problem? I have tried bumping up the z-index on the thickbox control but no luck. ...