silverlight

How to create ASP.NET page to act as a "proxy" for Silverlight WebClient?

I need to create an ASP.NET application to access a URL, when this application is live it is able to access the feed URL correctly as the clientaccesspolicy.xml and crossdomain.xml are on the server but only allow non-localhost connections so the debug version won't connect. How do I create a file, so this kind of link: http://localhost...

Expression blend slide effect? (silverlight slideshow)

Hi I'm trying to create a slider effect with images an text within it, much like http://www.silverlightshow.net/items/Image-slider-control-in-Silverlight-1.1.aspx I'm a designer so would prefer to use Blend entirely rather than dip into any of the code. Would be great if there is some sort of behavior for this? I'm currently using t...

Silverlight - RadTabControl Issue

Hi, I am using Silverlight with Telerik Controls. There is one scenarios where i stuck with it. 1) I have added Tab control into page(XAML page) with two tab Items. 2) I have also added stack panels into both tab items to dynamically add controls into respective stack panels. 3) Then Dynamically added combo boxes into stack panel and ...

Dynamic animations, Commands and separation of concerns

Scenario: I have a (numeric) textbox, a button, and a label. When the button is clicked I'd like the label to "animate" to the numeric value in the textbox (like a spinning dial) Given: a) that animations in storyboards cannot have databindings (because they are not FrameworkElements) b) the lack of triggers in Silverlight What is the...

Fill e.Error in silverlight webservice

In my webservice (WCF) i have this function [OperationContract] public ChooseViewData GetNcs(FilterArgument filter, int dossiersId, int usersId, string token) { SessionInfo info = Tokens.CheckToken(usersId, token); if (info.HasError) { //return null; } } When i'm calling this function in my silverl...

How to do validation on a TextBox in Silverlight, end-to-end?

I'm trying to add Validation to a Silverlight 3.0 TextBox but cannot seem to find and example which is complete, and not missing functionality that makes it work, I have this property: ''' <summary>Tag</summary> ''' <value>String</value> ''' <returns>String</returns> ''' <remarks>Contains Validation</remarks> Public ...

Error when using StaticResource

Hi, I'm getting this error Attribute {StaticResource StoryboardIntroAnimation} value is out of range when I try and use a staic resource as the Storyboard property of a BeginStoryboard object. The markup looks a little like this: <UserControl ...> <UserControl.Resources> <Storyboard x:Key="StoryboardIntroAnimation">...

Fade transition between styles

I have a label control where I use a converter to switch its styles based on a bool property, IsCheckedOut on my viewmodel, like so: <UserControl.Resources> <Converters:BooleanStyleConverter x:Key="BooleanStyleConverter " StyleFalse="{StaticResource HeaderLabelStyle}" StyleTrue="{StaticResource HeaderLa...

C# Read text formatting?

Dear All, I want to be able to read text from a Silverlight TextBlock (TextBlock Control) (Silverlight & C#) and check what formatting (as in: bold, italic, font size, etc...) has been applied to it, so I can store it in an XML file. Is it possible to find out what formatting has been applied to a piece of text with C# and Silverlight ...

"Read-Only" Entity Framework? I'm trying to use RIA Services, EF, and Silverlight

I'm trying to present MySQL server data in a silverlight client and my current plan of attack is to use Entity Framework to MySQL with RIA Services providing the data access between the Silverlight Client and Entity Framework. However, I'm only trying to present data to the user and I do not want the possibility of me or someone else be...

Silverlight equivalent to signed Java Applet?

Is there a Silverlight equivalent to signed applets in Java? I'm basically trying to host what would traditionally be a desktop application in a browser*, and I'd rather do it all in a single package (the Silverlight end) rather than delegate privileged actions to an outside (locally running) process. This would require some way of bre...

XmlSerializer chokes on xsi:type?

EDIT: See Pavel's answer below -- the 'type not recognized error' was caused by a mismatch between the class heirarchy in my parsing code (which I did not include here) and my XML schema. The 'type not recognized' error was something of a red herring, but once I fixed things the parsing works just fine. If you get to this question bec...

Silverlight 3 Validation - manual validate not working?

Apologies for cross posting (I asked this on the Silverlight Forum but got no response) I have an entity that I am trying to use validation on so I have decorated a property like so: [Required] [StringLength(10)] public string Code { get { return this.code; } set { if (this.code != value) { this.code = value; this.SendPropertyChanged(...

Silverlight Drawingbrush

I'm new in Silverlight, and I'm looking for something like a drawing brush on Silverlight without success. I saw Tamir Khason blog on building a drawing brush in Silverlight and i download the code without any success i'm taking about the next link: http://www.codeproject.com/KB/silverlight/Silverlight-DrawingBrush.aspx Can someone fin...

Dynamically add controls to a silveright StackPanel to Create a menu

hello community any one can please say how to add controls dynamically into a Stack Panel note: what i need is i have to create a menu which get data from database and creates menu items accordingly can any one say how can i create such menus i am new to silver light I am using silverlight 3 beta and expression blend3 + sketch flow ...

Mouse enter mouse leave? Expression blend (silverlight)

Hi I'm a designer using Expression blend. Does anyone know how to use the events tab? I'm looking at a column of input fields, such as mouse enter etc. Not sure what to put in these any ideas? Thanks Judi ...

C# Silverlight - Delay Child Window Load?!

The Scenario Currently I have a C# Silverlight Application That uses the domainservice class and the ADO.Net Entity Framework to communicate with my database. I want to load a child window upon clicking a button with some data that I retrieve from a server-side query to the database. The Process The first part of this process involves...

Overriding method of an element within a XAML UserControl?

I have a Silverlight user control that has no template and does not need one as it is simply a path with a RectangleGeometry that is resized by code. Now our designed has added a template to the tooltip of the path and I want to be able to provide a method for users of the control to change the layout of a portion of this template. If th...

C# Silverlight 3 - Programmatically Navigate Between Pages?!

Say I have a C# Silverlight 3 application with a number of pages. The first page is called Home, and the second page is called Details. The only way to navigate to details is programmatically. How do I do this?! Looked everywhere for the answer and all i've found are xaml uri mapper implementations.... Help greatly appreciated ...

Silverlight WCF Service, Object Moved

I have a Silverlight application which gets data through a Silverlight WCF Service, and this service was previously functioning. I made some namespace and assembly name changes to the application, and now whenever I try to access the wcf service, I get the following 302 error in fiddler. HTTP/1.1 302 Found Server: Microsoft-IIS/5....