silverlight

Web-Based User Help System for Silverlight

I've been googling and binging all morning to find a suitable solution for web-based user help. We've got Sandcastle for dev help, but I'm wondering what people are using for user help for a Silverlight project? I'm interested in options from rolling our own to a comprehensive help doc system. (And is HTML Help dead? the GUI still has...

Silverlight 3 DataForm - How to populate DataFormComboBoxField from enumeration

XAML <df:DataForm x:Name="MobCrud" AutoEdit="True" AutoCommit="True" AutoGenerateFields="False" VerticalAlignment="Top" CommandButtonsVisibility="All" Header="Mob Details" CanUserAddItems="True" CanUserDeleteItems="True" CurrentItem="{StaticResource newMob}...

Dropping outdated WCF responses in Silverlight

In Silverlight I got the following problem. If you fire multiple requests to the web service, the responses might not return in an ordered sequence. Meaning if the first request takes longer than the following ones, its response will return at last: 1. Sending request A.. (takes longer for some reason) 2. Sending request B.. 3. Sending ...

Canvas Click events in Silverlight when not over a UIElement

I have a canvas object and I am sprinkling fantastic controls all over it. I'm using a ScaleTransform object to scale the canvas so I can zoom in/out. I have wired up the controls so that I can drag them around, and the drag and drop works well by using MouseLeftButtonDown, MouseLeftButtonUp, and MouseMove. Now, I want to work on ena...

Serialiser library for Silverlight

I'm developing a modular app using prism in SL3, one of the modules is responsible for persisting the application settings in the isolated storage (so that when you open the app next time, you continue where you were). It works perfectly, except that I don't like the way dependencies are wired now. I want to have a type-agnostic settin...

Which's the best performance between Asp.net MVC controller VS. Wcf for Silverlight Application?

I found that Asp.net Mvc controller can serve both Asp.net Mvc View and Silverlight application via DynamicActionResult(It can be Simple Action Result or Json Action Result depend on request type). So, I have 3 options for creating middle-tier for Silverlight application. Pure WCF Service Every request to WCF must be declare in interfa...

Silverlight databinding.

Hi , I have to bind sql table to one of the grid in my silverlight page. I have seen all the examples in web using wcf services or web services for databinding. Can i use datalayer dll (regular way of datalayer classes) to bind data to silverlight pages. Anyone please suggest a good article on this.I am used to the regular way of dev...

Silverlight multi-page with browser back/forwards

I can present multiple pages in Silverlight using Content = new DetailsPage(); However is this can be confusing to a user who may not even know the page is in Silverlight and would be expecting to hit the back button on the browser. Obviously I can add my own buttons but this doesn't seem right. How can I allow "normal" browser navi...

Silverlight and icollectionview

So I have a datagrid that I need to add custom sorting for and I also need to know the exact order of the sort. I have read in order to do this I need to implement a custom icollectionview and bind it to the datagrid. The problem I am having is that the documentation Microsoft gives on this interface is not that great. Does anyone kno...

Using XmlIgnore on generated partial classes

I've got a LINQ 2 SQL generated class I'd like to expose through a webservice. There are some internal properties I don't want to be available. Normally I'd throw [XmlIgnore] in there but because the properties are in the generated half I can't do that. I've been looking at using MetadataType following this post which looks like it sho...

Microsoft media streaming services - Can I use it for Adaptive Streaming?

I have Microsoft Expression Encoder 2, and I encoded a video for Adaptive Streaming. Can I then upload the files to the Microsoft media streaming services (http://silverlight.live.com) and use Adaptive Streaming? ...

WCF PollingDuplexHttpBinding questions

Hi, I've been looking at the PollingDuplexHttpBinding available in silverlight 2 and 3 and had a couple of questions I haven't been able to find any information on. Am I able to use this in non-silverlight apps? From the descriptions it doesn't seem like its actually polling, but maintaining an open connection and reconnecting as nece...

Silverlight 2 datagrid headers

Is there a way to change the column headers of a SL2 datagrid during databinding? I'm looking for something similar to ASP.net's rowDataBound, I'm looking at _LoadingRow is this the correct event? ...

Silverlight click event registered a second time before first event completed

I have a button which launches a "modal dialog" - it just creates a transparent grid covering everything, with the "dialog" created on top of that. However I have a strange issue - if I double/triple click the button really fast (or add some delay in the event code), the button click event is executed multiple times, creating multiple o...

Why can't I set SelectedIndex on a data-bound ComboBox?

I have two ComboBox elements, one with databinding and one without. On the one without I can set the SelectedIndex fine. But on the one that is databound, if I set the SelectedIndex, it says, "AG_E_INVALID_ARGUMENT". But if I set it to a value in the ViewModel (SelectedIndex="{Binding SelectedCustomerIndex}") then it says "Object refe...

Why does Path=SelectedItem.Content work for ComboBox in WPF but not Silverlight?

The following code works fine in WPF. In Silverlight it gives me the error **Invalid attribute value {Binding ElementName=WhichNumber, Path=SelectedItem.Content} for property Text. ** How can I get this to work in Silverlight? <ComboBox x:Name="WhichNumber" Width="100" HorizontalAlignment="Left" Margin="10" SelectedIndex="0"> ...

Is silverlight the right choice for what i need?

I am looking at the best approach to add rich functionality to an existing ASP.NET 3.5 application. I have not developed anything in Silverlight but as i was thinking about what functionality i needed i started wondering if Silverlight might be the answer. Here is what i need: The ability to move/select objects, select each object and ...

Silverlight DataGrid - Adding columns at runtime

I would like to be able to add / remove columns to my datagrid, based on UI inputs from the user. Is this possible? Any good articles on this? Thanks, Mark ...

Silverlight WebClient Progressive Download

I'm trying to progressively download an array of serialised data. The goal is to send a single large block from the server, and partially process it on the client whilst it downloads. I'm using the System.Net.WebClient class and setting it's AllowReadStreamBuffering property to false. According to the MSDN documentation, this should all...

Silverlight xap file not being copied to ClientBin on Build Server

We're developing a ASP.Net Web Application project that has a Silverlight 2.0 component. We've referenced the silverlight project in the web application properties, and the xap file is being copied to the ClientBin folder of the Web application when we build locally. The problem is that when we build this on our build server (which is ...