silverlight

WCF - Moving MVC Framework from WinForms to an SOA for Silverlight

I would like to move my MVC pattern (BLL and DAL - POCOs) from a WinForms environment to a Silverlight environment. As I begin this transition, do I have to do anything extra to my POCOs for WCF consumption, i.e. move them down the wire, e.g. serilize them? ...

LINQ to XML: Defer selection of children in Silverlight C#?

I have the following XML Document being loaded into C# Silverlight: <parent> <son name="Jim"> <grandson>Billy</grandson> <granddaughter>Sue</granddaughter> </son> <daughter name="Sally"> </daughter> </parent> I'd like to do a LINQ query so that I query parent and get a list of "son" and "daughter" nod...

OpenId with Silverlight

What are your solutions? Has anyone successfully implemented OpenId with a Silverlight 2 app? OpenId requires a redirect to an outside site. I was looking forward to a slick Silverlighty login page for my app, but this isn't going to happen by the looks of things! ...

What is wrong with adding a service reference when consuming WCF in Silverlight?

This article talks about consuming WCF services in Silverlight, but claims: There will be no proxies, no generated code, no 3rd party utilities, and no disgusting "Add Service Reference" usage. What is so wrong with me adding a service reference in my Silverlight project? Are there hidden overheads? Or is it a case of Fear Of Auto Magi...

Removing markers from silverlight line or area series

Is it possible to easily remove the data point markers from a line series or area series chart. I am using the Silverlight Toolkit charts. ...

How do I work around the missing crypto classes in silverlight 2/3?

I'm doing some work with a server side service I don't control. The following works fine in standard C#, but fails (due to missing crypto classes) in Silverlight 2 and 3. static String DecryptString() { s = "<cipherTextHere>"; byte[] toDecryptArray = Convert.FromBase64String(s); string key = "<key here>"...

Silverlight Toggle Button Grouping

Hola, I'm developing a Silverlight app and would like to create a grouping of 5 toggle buttons (used for menu options) that animate when clicked (grow in size) and also cause any previously clicked buttons in the group to unclick and animate back to their shrunken size. I know I could use a brute force approach where the app is directl...

Silverlight DataGrid Annoying Extra column on right side

Hi, I am adding dynamic columns in silverlight data grid.And I want to assign width for columns such a way that it covers entire grid width. I tried this solution mentioned but still it is adding one extra column and than splits remaining columns in same width. http://stackoverflow.com/questions/894991/increase-columns-width-in-silver...

Boolean Animation locks property

If I have a BooleanAnimation that sets a property, that property becomes locked and can't be changed by any other means. Example: <EventTrigger SourceName="myButton" RoutedEvent="Button.Click"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <BooleanAnimationUsingKeyFrames ...

Smoothing of Vertices in MeshGeometry3D (WPF)

Hi I'm porting a DirectX application into WPF, using the Windows.Media.Media3D toolkit. Which is working good and all, except that the Model is rendered in-complete, even when it have gotten all possible data. I suspect it's because DirectX optimize and somehow smooth or help rendering additional content depending on the vertices and i...

How unique is XAML?

Was talking to a colleague about XAML and how it is both a presentation and object description language and therefore quite unique and novel among IT technology. Is this true that XAML is unique and novel? Does XAML have any counterparts or predecessors in the Java world or elsewhere? I believe someone told me that Java Server Faces w...

Silverlight databinding to locate UIElements

Is it possible to locate UIelement(s) on the visual tree in silverlight by inspecting the databinding somehow for a business object being bound. What I want to do is locate elements using a lambda expression (or any other means) from the element being bound something like: var uielements = FindAllUIElements ( (businessObject)=> { busine...

Silverlight 3.0 writableBitmap

i have a writableBitmap object which i want to save on server. Is there any way to save it may be using webservice?? ...

WPF vs Silverlight.

What are the exact differences between WPF and Silverlight? ...

ASP.Net or Silverlight with web services, where do we stop

I was reading the ASP.Net vs Silverlight (Reach vs Rich) and need a clarification, if the requirement is to force everyone going to use my app is to download silverlight, then performance and security wise, silver light is better solution than ASp.Net (also avoiding activx controls for developing rich grids)? I am doing all the developm...

Dealing with asynchronous control structures (Fluent Interface?)

The initialization code of our Flex application is doing a series of asynchronous calls to check user credentials, load external data, connecting to a JMS topic, etc. Depending on the context the application runs in, some of these calls are not executed or executed with different parameters. Since all of these calls happen asynchronousl...

Stretching a WPF Canvas Horizontally

How do I make a Canvas Stretch fully Horizontally with variable width? This is the Parent Canvas, so it has no parents, only Children. XAML Source: it displays in blend http://resopollution.com/xaml.txt ...

Silverlight - Load XAML file via C# (just like in the WinForms days) - How?

So I'm new to SL coming from a WinForms background where I could instantiate a UserControl or Form like this: MyForm frm = new MyForm(); frm.ShowDialog(); So in SL, I created a simple Page.xaml and a second xaml file called Page2.xaml - I dropped a button in the Page.xaml file and within that button's click event, I tried adding the f...

silverlight isolatedstorage security implications

I have a LOB application in SL, one of the aims is to save partially entered data to persist user's state. for example, you start adding a new employee to system, close the browser (or it crashes), next time you open the browser, you have whatever data you had entered before. the saving and loading is easy, I was wondering if there is a...

Silverlight WCF client, sharepoint web services go silent

I've got a silverlight app installed as a web part feature in a sharepoint site collection. Everything works fine in a small development site collection, but in a large collection with many subsites, the app has problems with Sharepoint web services. It hits the sharepoint web services and retrieves data about each subsite, but at some...