silverlight

Keep TreeView Subtree expanded after dataset refresh

I'm working with the July '09 CTP of the .Net RIA services, and binding an object of Group=>Department=>Category objects to a treeview, and then having a hierarchialdatatemplate render each of the three object types. What my end goal is for this will be to enable drag-n-drop functionality so that I can quickly edit my list of groups=>de...

What is the difference between Silverlight and XBAP?

What is the difference between Silverlight and XBAP? Where would you use one vs. the other? ...

Event for unhandled exceptions in Silverlight background threads?

Is there a usable equivalent of AppDomain.UnhandledException for Silverlight? I say usable, because, although the method exists in Silverlight, MSDN has it marked as SecurityCritical. What I'd like is to receive notification of Exceptions happening on background or ThreadPool threads so that I can log them. Application.UnhandledExceptio...

Preventing DateTime changes.

Hi, in Silverligh + RIA app, I am retriving date from mssql08 server, when it reaches client side it is automatically converted into UTC time. How can I prevent RIA or SL from doing that? Regards MK ...

Converting WPF Datatemplates using x:Type to Silverlight

Hi. I have a WPF app that uses x:type when working with datatemplates. This doesn't work in Silverlight out of the box, but I can remember that I saw something some time ago in a googlegroup where they where talking about Silverlight Extensions and how that could be used. If anyone knows what I am talking about or knows how I can reuse...

How to create silverlight app with vwd 2008 sp1?

Hi, I've installed Visual Web Developer express 2008 sp1 and Silverlight 3 Tools. But I only have two new VS templates "Silverlight Script Web" and "WCF Service". How do I create a Silverlight application? I have c#, vb.net, vwd express editions and visual studio 2005. Please Help. Thanks ...

How can I expose a .Net 2.0 Webservice to a Silverlight client?

I have a trivial .Net 2.0 SOAP web service. I want to access it from Silverlight application that is hosted on the same server, but different port. I know that for this to work I need to provide a clientaccesspolicy.xml or crossdomain.xml policy file (the service is available at http://example:8085/RemoteObject.rem?wsdl , so the policy f...

Using Silverlight Controls within WPF application

I was looking for a rich text editor with support for export/import to Html. All the available controls I found are Silverlight controls. Someone asked in StackOverflow about WPF text editor, and the selected answer was: A possible place to start, given the overlap between WPF and Silverlight is the Silverlight Rich Text Editor. ...

Silverlight DataForm, Child Window, ComboBox, DataContext

I have a child window that contains a DataForm. In the DataForm there is a combobox. I have a DataContext set on the parent window that is opening the child window. Before I open the child window, I set the myChildWindow.DataContext = myGlobalDataContext. I have the ComboBox ItemsSource={Binding Path=MyCollectionInMyGlobalDataContex...

Using a DataTable object with Silverlight

I have an interesting problem: I can get results back from my WCF service to my Silverlight code as a DataTable. Problem is, Silverlight doesn't support DataTable objects. I've been poking around with what I can do, and the best I can come up with is passing it back as a List. Great, right? Nope. Now I'm getting the same problem as ...

Maintaining session in Silverlight

I am creating a Silverlight with WCF connectivity. I would like to create and maintain a session after user login in Silverlight and do the following. On successful login, create a session object and store session id, user id, user name, session status On further calls with WCF, the session information needs to be passed from Silverlig...

Winforms or Silverlight

Hey everyone, I have a small project that I will be working on shortly that collects employees time and what project the person was working on. Pretty straight forward. I was orginally going to work on it in WinForms but since im new to that I though maybe using Silverlight for the application since I will have a learning curve for each...

What is Microsoft's roadmap for in browser applications? Silverlight, ClickOnce, ActiveX, dlls...

So here I am, first time windows developer (done java swing, iphone, flash/flex) and I'm confused by what technology Microsoft wants me to use for in browser rich applications. The application I'm designing is a file uploader that supports drag and drop from the filesystem, seems easy, I already implemented this already in Java and I fi...

Tranpose DataGrid in Silverlight

Hi I would like tranpose datagrid . I search on google but most of them are not realted to silverlight. What I would like to do is this Original Datagrid dbname dbsize version a1 234 3.4 a2 456 2.3 TO THIS computername[another column will add later] computername[another column] dbname ...

Access Silverlight's createObject via Javascript's new operator?

feel free to skip down to the question below I'm trying to create a bridge so a huge javascript application can be replaced by a new Silverlight-based rewrite as smoothly as possible. In the legacy application, there is this JS class: function LatLng(lat, lng, url) { /* snip... */ } And it is being used a lot throughout my customer'...

Silverlight 3 data access

I've done some silverlight2 apps that access a database. I did some clunky stuff so that i could use some custom classes on both the webservice end and also in silverlight. I want to use these custom classes because it houses all the business logic. With silverlight 3 i see all these demo's where they are using RIA services. These al...

Is there an update to 3.0 for the silverlight Page Turn demo

One of the first cool demos in the 1.0 era was page turn photo book. The idea caught a bit of traction and Jeff Prosise wrote up a framework for it here What I'm looking for is an update to 3.0 (or at least 2.0) While I appreciate Prosise effort, I'm not that thrilled about all the Javascript required to drive the application. Any po...

CommunicationException when calling a WCF from Silverlight

Hi folks, this is going to steal my sanity. I've been gone through almost everything I found on the web and went no single step forward. Frustration is not strong enough to describe this errormessage come popping up regardless of what I am doing. But one after the other. I have a 64bit W2008 Server machine with VS 2008 SP1 german ver...

Where can I find the Silverlight standard loading animation?

For the life of me, I can't seem to find the standard Silverlight loading animation, the one with swirling balls (hmmm ... that just doesn't look/sound right ... anyway) ... is this somewhere in an SDK? Are there any web sites with busy animations that can be used in Silverlight? ...

Deleting a record returns from the dead after I submit changes using RIA Data Services

I have written a little program that deletes a record from the database using the RIA Data Services (Silverlight) and I am using a datagrid to view my entity. private void DeleteButton_Click(object sender, RoutedEventArgs e) { DataContext _PersonService = (DataContext)(personDataSource.DomainContext); person remo...