silverlight

Silverlight Socket Policy Not Working

I am trying to implement a data push from a Windows Service to a Silverlight app. I have created a policy server which sends this policy file: <?xml version="1.0" encoding ="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from> <domain uri="*" /> </allow-from> <grant-to> <socket-re...

silverlight app

Hi Now we are developing the application in silverlight 3. I would like to implement the session time out in silverlight like asp.net session timeout. Please anyone give me the idea for that. Thanks in Advance Sekar ...

Transforming the Swatch Blend 3 example into a dll

Hi, very good is the swatch example in blend 3. Howerer i'd like to embed it in an application simply compiling the whole project as a single dll. Is it possible and how? Many thanks! ...

Is Databinding a good way to connect a view to a model

I am thinking about the design of a WPF or Silverlight application. I am planning to use MVC (or another such design pattern) Witch ever of the design patterns I choose, I need to connect to view to the model (or presenter) – is databinding a good way of doing this? (In the past with WinForms applications I have found that Databinding...

Silverlight And DataAnnotations

When I am not using data controls like the DataForm and DataGrid is there any use for the attributes like [Required], [StringLength] on my entities? Can these be used for validation outside of the above mentioned data controls? If so, could you point me to some examples or documentation. I would like to prevent users from pressing the ...

Silverlight 3 - Gradient as background issue - Bug?

I have an issue when attempting to set the background of a grid in a Silverlight 3 app to a gradient. When I set the background of a grid in my application to a gradient, that gradient simply does not render in the browser. I have set this gradient brush as a resouce (both in app.xaml as well as in the local XAML file) and I have also ...

Are there any demo sites that let you test IronRuby with Silverlight?

I want to some very basic IronRuby tests, such as checking the syntax on a regular expression, and if possible would like to be able to do it thorugh my browser. Does anyone know of a site that hosts an IronRuby in Silverlight demo? ...

Assigning the Storyboard.Target on something gives me a weird error.

When I write Storyboard.Target, intellisense steps in and does it's job. But when I compile it, I get an exception. But if it's no allowed, why does intellisense pull it for me to use? <UserControl x:Class="SilverlightApplication5.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schema...

XAML - Binding to DataContext and using converter?

To bind to the current DataContext in XAML you can use: <TextBlock Text="{Binding}" /> How do you do this using a converter in the mix? The following works when you have a property on the path: <TextBlock Text="{Binding MyProperty,Converter={StaticResource converter}}" /> But I dont want to do that; I just want to Bind to the datac...

netmsmqbinding with silverlight connections limit

Hello I have develop a silverlight chat application. my question is (a) can netmsmqbinding support unlimited connections of wcf service. because first im use pollingduplex binding but it support only 10 connection on iis6 also on server edition.im allready set service throttling options but not effect on server iis. so that now i want ...

Embed one silverlight application in another silverlight application

Is there a way to embed one silverlight application in another silverlight application? if so how and what are the restrictions if any? The closest thing that I could find by searching on internet is this where a consultant suggested a method but I couldn't figure out how to get it working. Plz help ...

How to change DPI of part of a WPF/Silverlight application?

I want my application to have a zoomable element which will allow the XAML elements to be viewed at 25%, 50%, 100%, 200% etc, I just need to alter the DPI of the XAML but am unsure how to do this on just part of the XAML (i.e. the element to zoom). It will work just like the designer view in Visual Studio when you can zoom into the contr...

Silverlight Player doesn't play video smoothly

Hi all, I'm having a problem with silverlight player when playing a smoothstreaming video (ismv). When the camera is moving fast some parts of the movie appear distorted (horizontal blocks). It seams like some horizontal parts of the movie are milliseconds delayed. This strange effect does not occur if I open the ismv file using the win...

Silverlight Image Editor control

Do you know of any Silverlight "Image Editor" controls, commercial or open source? Primary feature requirements: Crop/resize/rotate image Set background color Insert text Insert multiple images I'm aware of this similar question (November '08), but the Atalasoft offerings (currently the only answer) doesn't seem to include a Silverl...

Authentication between Silverlight and WCF Service WITHOUT ASP.Net Auth

Does anyone know of any best practices or 'standard' techniques for implementing authentication between a silverlight client and WCF services WITHOUT using either RIA Services or ASP.Net authentication & cookies. My current best option seems to be to add additional message headers to each call and authenticate the user with each call. A...

Silverlight Vector US Map

I'm relatively new to silverlight and want to start building a data visualization tool that shows an interactive map of the US and allows me to essentially put a heat map on top along w/ varying points of interest dynamically added. I'm sure there are commercial tools I could buy that would do all this but I'd like to build it from scra...

Binding ADO.NET entity framework results to Silverlight Datagrid

I have my data model in my ASP.NET website and what i'm attempting to do is retrieve tbl_company records and bind these to a datagrid in silverlight - pretty simple. I set up my database so tbl_company has a foreign key (company_scope_id) that is linked to tbl_company_scope. From tbl_company_scope I basically want to show the column "sc...

How can I make an image "jitter"?

I have an image on my silverlight app and I want it to shake a little bit when the mouse is on top. How can I achieve this? I'm really new to silverlight animations. I need it to bounce a bit and tilt from left to right. Can anyone help? ...

Can Anyone Help me about This Coding....I hv to Insert a data in table via ADO.NET web services.(

using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using demo1.ServiceReference1; using System.Da...

WCF cross-domain policy security error

Hello everyone, I am using VSTS 2008 + C# + WCF + .Net 3.5 + Silverlight 3.0. I host Silverlight control in an html page and debug it from VSTS 2008 (press F5, then run in VSTS 2008 built-in ASP.Net development web server), then call another WCF service (hosted in another machine running IIS 7.0 + Vista). The WCF service is very simple,...