silverlight

What is the base class type of the auto-generated entities from the Entity Framework?

I'm trying to create a function that takes any table from my ADO.NET Data Model in Silverlight. I can't figure out what the base class is for the Entity Objects that it creates for me. Each Entity in the model is of this type: global::System.Data.Objects.DataClasses.EntityObject but that type wasn't working in SilverLight. I'd li...

How do I verify the host server's certificate in Silverlight?

I am concerned with MITM attacks in the Silverlight application I am writing. The site will be running over SSL. If my site is the victim of a MITM attack, as far as I know, my only defense right now is the warning page the browser displays when the site's certificate is untrusted. Since it is only a browser, the best it can do is simply...

I'm a .NET/WCF/Visual Studio programmer. What's a good way to learn Silverlight3 and Blend?

I am familiar with XAML, but I'm no expert. I'm not a designer. In the past I learned much by examining other people's code, good and bad. Is this a reasonable approach with Silverlight? and if so, where can I look at open-source SL projects or examples? If this is not a good approach, what do you recommend? Or should I just punt ...

What MVVM framework are you using?

I am looking to write a WPF app and am trying to pick a MVVM framework to handle some of the complexity. What would you recommend and where can I find a good tutorial/getting started guide for said framework? ...

Silverlight access an ashx JSON response

I have a Silverlight application that is calling out to an ashx that is hosted in the same application as the Silverlight control. The ashx does the following (stripped down): // Basic object class SomeObject { int ID { get; set; } string Description { get; set; } double Value { get; set; } } // ASHX details DataLayer dl ...

Binding ComboBoxes to enums... in Silverlight!

So, the web, and StackOverflow, have plenty of nice answers for how to bind a combobox to an enum property in WPF. But Silverlight is missing all of the features that make this possible :(. For example: You can't use a generic EnumDisplayer-style IValueConverter that accepts a type parameter, since Silverlight doesn't support x:Type. Y...

A Silverlight application with .net Ria services and SilverlightFX

Hi, I am starting to write an application in Silverlight with RIA services and SilverlightFx. Now this application is a pretty big one has has lot of interaction between controls. As an estimate it will have around 60-70 user controls. Now my questions are.. Is it good to choose .Net Ria and SilverlightFx? (My view is..It is not goin...

silverlight basic data binding

I cannot understand the Silverlight documentation on data binding. I seek a very simple example. Suppose I define a UserControl in a XAML file. The toplevel child of the UserControl is a Grid, of n columns and m rows. Within the Grid is a Rectangle. Like this: <UserControl.... <Grid ...> <Rectangle ...> The rectangle ...

Acessing Storyboards from another XAMLS

Hello. I'm trying to build a Silverlight application where I use 5 XAMLS. The first one, "Page.xaml" contains a menu with 4 buttons and a Canvas to receive the each content XAML. Each Content XAML has 2 storyboards: "entrada" (the "enter section" animation) and "saida" (the section ending animation). I am experiencing the following pro...

Silverlight 3 oob window border

I was wondering if I can customise the look and feel of the OOB window of my SL app? I want it to look different than the standard windows frame (maybe at least change the visible buttons like minimise or maximise...) thanks ...

Silverlight WCF Proxy async only?

Why do the Silerlight-generated WCF proxy class(es) offer only async calls? There are cases where I don't really need the async pattern (for example in a BackgroundWorker) EDIT : Sometimes I need to process the results of two WCF calls. It would have been much simpler if I could have waited (the business of the app allows that) for bot...

Silverlight BrowserInformation for Chrome and Firefox

In our silverlight app I'm trying to determine what browser the user is running in. The silverlight runtime already helps me a bit here: string browserName = HtmlPage.BrowserInformation.Name; However, the browserName is 'Netscape' both under Chrome and Firefox and the same goes for the BrowserVersion property (probably because Chrome ...

Silverlight Custom Control Create Custom Event

Hi There, How do I create an event that handled a click event of one of my other control from my custom control? Here is the setup of what I've got: a textbox and a button (Custom Control) a silverlight application (uses that above custom control) I would like to expose the click event of the button from the custom control on the main...

Getting data out of a Silverlight control

I am relatively new to Silverlight development and I am trying to figure out how to get data out of a silverlight control that I have made. I have a Silverlight control that gathers a bunch of graphical data points. The Silverlight control is embedding in a asp.net webforms application. The page that is displaying the control also doe...

Silverlight Scheduling Control

Does anyone know of any freely available scheduling control for Silverlight 3? Something that resembles the Day/Week/Month view in Outlook? ...

Has anyone worked with silverlight streaming sdk?

Hi all, I am developing a web app using silverlight. I read that Microsoft offers 10 gigabytes of free hosting for streaming video \ audio files. My question is as following: Have any of you worked with the SDK supporting this? Is it possible to upload a video \ audio file to the server from one silverlight client and stream it to other...

LINQ with ATOM feeds

I am trying to create a simple Silverlight application that calls an ATOM feed and displays the article title and submit date. I found this very easy to do with RSS feeds and LINQ but I am stuck trying to do the same with an ATOM feed. The code below produces no errors but it also produced no results! What am I missing? Source ATOM f...

Bind the content of DataTemplate to another userControl

Hi all, may you happy every day I am new in silverlight Suppose I am writing a user control(name as AAA.xaml) which contains a DataTemplate, in which I want to have another user control's(defined in BBB.xaml) instance by data binding. I initilize a instance of BBB user control(name as bbb) in AAA.cs(the c# file of AAA.xaml), and I wan...

Property missing error when I add a new static event on Silverlight

HI there, I have added a static event with the following code: public class TypeChangedEventArgs : EventArgs { public Types TypeSelected { get; set; } } public delegate void TypeChangedHandler(TypeChangedEventArgs eventArgs); public static event TypeChangedHandler TypeChanged; And I do get an event handler for TypeChanged, the...

ValidateXAML Failure on a TFS Build with a Silverlight 3 Project

Hi all I have a Silverlight 3 project which compiles and runs fine when compiled on a development machine. On our TFS environment with Silverlight 3 and the Silverlight 3 SDK installed, I get the following error: C:\Users\tfsservice\AppData\Local\Temp\\Release\Sources\Source\Trunk\Themes\ UserDatesStyles.xaml(63,47,63,47): erro...