silverlight

How to bind a datagrid in Silverlight

I am making a RIA application using silverlight and web services the method of a web service returns a DataSet (a classic asp.net dataset which is find in system.data) . Now my problem is: How to bind a DataGrid of Silverlight with that Dataset which is returned by the Web service If i am going wrong way do correct me. If i am right t...

What is data contract (property class) and observable collection

What is data contract (property class) and observable collection when, where and why to use these in context to silverlight please do explain in Details with Examples ++ Thanks and Regards Meetu Choudhary ...

Securing a WCF service so that it can only be called by a Silverlight application

I am writing a Silverlight application that will be both reading and writing data to a serverside database via some WCF web services. What is the best way to secure these web services? My goal is to make sure the services can't be called by other applications and potentially spammed with requests to add items to the database. Only the ...

deep zoom is not displayed

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + Windows Vista Enterprise x86. I have used Silverlight Deep Zoom composer tool to export my composed images into Siverlight type. Everything is previewed fine after export successful message (I select browse from browser). But when I click the Test.html in the exported project to sh...

Siverlight setup issue

Hello everyone, If I just deploy Siverlight application (eithre ASP.Net page or Html page uses XAP files) on Server, no need to develop. On Server side, do I need to install anything? I have two scenarios, Using Windows Server 2003; Using Windows Server 2008. thanks in advance, George ...

Generic IPropertyChangedNotifier using Dynamic Proxy and wcf serialization problem

I have implemented a generic IPropertyChangedNotifier using castle dynamic proxy. Here I intercept setter call in Proxy objects so that i don't have to raise PropertyChanged event in setters of my domain objects. The purpose was to use these proxy objects to bind it UI in a silevrlight application. The Problem is serialization of prox...

How do I autosize a silverlight 3 usercontrol based on its contents?

Using Silverlight 3 I am trying to recreate the class object visualization as seen in Visual Studio's class diagram. However, my objects will represent database objects rather than class definitions. I have been partially successful as seen in the following two images. Both of these have been created with fixed sizes, and so they ...

Siverlight development setup issue

Hello everyone, If I am using Windows Vista x86 Enterprise as development environment, and I have installed VSTS 2008 + SP1, .Net 3.5 and I use C#. Any additional SDK/components from Microsoft do you suggest I to setup which are must required? Too many terms called Siverlight SDK/Plug-in which makes myself headache. Do not know which o...

Live messenger login with silverlight

Hi, I need to use windows messenger login to get users authenticated and get their contact details ..display name etc. Currently I am using a DLL from codeplex It works fine. But in IE8 it does not work. IE8 with win 7 or IE8 with XP. So is there any other easy way of doing it? Thanks.. ...

BigEndianBitConverter in Silverlight?

I'm trying to use the MiscUtil.Conversion utility in Silverlight. http://www.yoda.arachsys.com/csharp/miscutil/ When I try to compile it, I get an error saying Silverlight's BitConverter class does not have these two methods: DoubleToInt64Bits Int64BitsToDouble Well, I opened up Reflector and found them in mscorlib: public unsafe lon...

Common uses for the Tag property

I've started using this alot to link elements of my UI to their data backing class (whatever that might be). What are some of the common uses you put the Tag property to use for? Indeed, do you use it at all? I know I didn't for a very long time. ...

What is LiveMesh Object and its connection with Silverlight 3.0

I would like to understand that what is Mesh Object and its conection with silverlight, i am bit aware that it has got some relation with Local storage and then sync with the server data. But i would like to understand it fundamentally so if anyone can provide any link to the article for conceptual understanding or Step by step implemen...

Loading the initial state on a silverlight application based on asp.net session

I'm writing a silverlight application that resembles a shopping cart system. This app can only be launched from the asp.net website after the user is logged in to the site. Upon first load, the app will send a request to the backend through WCF service to retreive all the existing items in the shopping cart. Therefore the silverlight a...

What's a good cloud based file storage platform to use with Silverlight?

I'm working on a Silverlight app that would allow a user to upload a few gigs of files to a hypothetical cloud based file store, then allow the user to view some data about those files later (more functionality than a file store). Ideally I'd like to use a free, per-user store such as SkyDrive but I can't seem to find an API for that se...

single silverlight control in an asp.net mvc website?

The main website will be MVC but I have a need for one Silverlight control to allow users to draw on images, just basic shapes, lines, squares, triangles etc. Also might need Silverlight control to potentially allow users to draw and annotate video clips. Is this possible? ...

How do I load a specific xaml page based on a user input

Quick Explanation One Silverlight (3.0) project with several XAML pages. I want to load the Silverlight control pointing to different XAML pages depending on certain events. I'm considering doing this with Querystrings. Anyone have any luck with this or best practices? ...

Silverlight animation not smooth

Hi, When trying to animate objects time/frame based in Silverlight (in contrast to using something like DoubleAnimation or Storyboard, which is not suitable e.g. for fast paced games), for example moving a spaceship in a particular direction every frame, the movement is jumpy and not really smooth. The screen even seems to tear. There ...

Preventing an ASP.NET Session Timeout when using Silverlight

I'm writing a program which has both an ASP.NET configuration system and a Silverlight application. Most users will remain on the Silverlight page and not visit the ASP.NET site except for logging in, etc. The problem is, I need the session to remain active for authentication purposes, but the session will timeout even if the user is u...

How can I access Live Mesh from a Silverlight 3 app?

I have an existing Silverlight 3 app that I want to add Live Mesh support to. This may sound like a simple question but I can't figure out how to get started! I've read a bit on dev.live.com but haven't found a good example. Here's what I want to accomplish: User visits my SL3 site. User enters their Live ID and password to login to...

Application.Current changes when using reflection to create an instance of another Application class

Let's say I have the following Silverlight Applications: App1.xap App2.xap App3.xap Let's say that I start App1.xap as the default xap file. If I load App2.xap and App3.xap and instantiate an Application class within one of the other two XAPs. The Application.Current changes to be that new instance. System.Windows.Application obj =...