silverlight-3.0

Linq to XSD for Silverlight

It appears that the LINQ to XSD project has some dependencies on types that are not available in Silverlight, such as System.Xml.Schema.XmlSchemaType. Considering that, I know it would take a significant amount of work to get LINQ to XSD to work in a Silverlight project, but I am curious, has anyone modified the LINQ to XSD project (Micr...

Filtering in Silverlight with RIA Services

I have a small SL application that uses RIA services to display employee data (Northwind database) in a data grid. I have a text filter, that works fine against varchar columns but does not filter against a nullable int column. Here is the xaml: <UserControl xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Window...

Maintain scroll position on updating the ItemSource of a silverlight datagrid

I'm using a DataGrid in my silverlight application to display some data that's refreshed on a timer. My problem is that when this happens the vertical scrollbar in the grid resets to the top, whereas I want it to stay in the same position. Does anyone know how I can make this happen? I've tried overriding the ItemsSource property on th...

Cannot see named Silverlight control in code

In my first few hours with Silverlight 3, as an avid WPF user, I am greatly disappointed at the many things it doesn't support. This seems like an odd issue to me and it's so generic that I cannot find anything online about it. I have the following XAML: <controls:TabControl x:Name="workspacesTabControl" Grid.Row="1" Background="Antiqu...

Silverlight Refresh Data in Combo Box

Good Day, I have a Data Grid that contains user selections on a SL form. From time to time, there are updates to the data in the Data Grid every 10 seconds. Is there a way to constantly refresh the data once the page has loaded? I found something called a DispatcherTimer that can run every 10 seconds (for example) but I'm not sure if...

Duplex Service in asp.net

I have a duplex service and i'm using silverlight for the functionality of inserting values and retrieving values.The first thing i want to know is: when i add a new endpoint for example wsdualhttpbinding,then my service doesn't work.It doesn't give any error but it neither retrieves nor inserts the values. Second thing is if any one c...

Dynamic height for silverlight app in sharepoint

So as far as I know when using Silverlight in Sharepoint I need to give the web part a certain height and width for the silverlight application that I want to use. And I cant use 100% in the web part properties. What I would like to do is for the silverlight app to tell the webpart what the height should be. Currently I'm not even sur...

Landscape Page Turn in Silverlight ( vertical )

hi, i am looking for page turn Silverlight in landscape mode. Or can we show PDF file Silverlight? ...

Anyone using Windowless mode in a Silverlight business app without animations?

We have a standard business application written in Silverlight for which we need to use Windowless Mode. This "feature" to use a Telerik Silverlight component. Using Google I have found lots of bad things that can go wrong with windowless mode with regards to mixing HTML content and animations. I am interested in knowing if bad things...

Silverlight 3: Best way to select a local file for input / upload

I'm using Silverlight 3 to write a LOB applcation that takes an input file, does some stuff, and then returns an output file. What is the easiest way to get the input file from the user and then return a file back to the user? Can I access the local file system to do this? How? Most likely the files will be ASCII files, but could be Exce...

Adding an image to a button in XAML

I'm trying to add an image to a button in my silverlight 3 application but cannot get the image to appear. I added a folder, named \images, to my Silverlight application folder and an using a relative path in the Source attribute of the Image. What am I doing wrong? <Button Width="200" Height="200"> <Image Source="images\do...

How to bind ScaleTransformation.X to slider in Silverlight 3

Hi, I need to zoom Canvas. In WPF it is possible to bind ScaleTransformation.X to slider.Value. I'm not able to do the same in Silverlight - some errors. Is it supported in SL3? Thank you. ...

Silverlight Multiple Application Debugging

I have three Silverlight 3 applications in the same solution. In my asp.net hosting project I have a seperate page for all three projects. When I navigate between the pages, the only Silverlight breakpoints that get hit are the ones the initial page I load. This problem has only started recently. I used to be able to debug between all s...

Automatically have a viewmodel update the domain context and submit changes (Silverlight/RIA Services Nov beta)

I am really stuck trying to implement RIA Services with MVVM and a crud datagrid. I think i'm missing some key idea. All of the examples I have seen use a submit button or similar to send the data back to the client. I'd rather submit as soon as a row is added/deleted/modified. I thought of a couple of approaches: Have my IEnuerable It...

Silverlight 3 Toolkit DataForm - No Cancel enabled?

Hey all! I have a Silverlight 3 datakit:DataForm bound to a ADO.NET Data Service 1.5 CTP2 datasource via the ItemsSource. A fragment is below... var programs = DataServiceCollection.CreateTracked( dashboardService, query.EndExecute(asyncResult)); this.ProgramEditForm.ItemsSource = programs; My DataForm definition is dea...

C# DatacontractSerializer over Sockets multiple root elements

I am writing a Sivlerlight Chat application using Sockets and the DataContractSerializer. I have a class hierarchy of serializable objects with the definitions shared between the Silverlight Client and the C# Server. When a buddy logs on they send a message to the server and if they are verified they are sent an acknowledgment follow...

Is there any kind of documentation available for Silverlight.FX ?

Silverlight FX looks like it will cover my MVVM needs, however I'm struggling to find good documentation on the behaviors system (or any good doco) beyond some blog posts which are from previously released versions. Specifically, I am trying to figure out how I can capture a RowCommit event from my view and have it invoke a method/even...

Changeing values in RowEditEnding

Changing values in the RowEditEnding event of a DataGrid I have a DataGrid that has a check box column. Only one row can have the box checked. If the user checks a new box all the other boxes should automatically be unchecked, similar to a radio button. I have tried to implement that behaviour in the RowEditEnding event, but if I modify...

Application Navigation Framework (SL) with MVVM

Hi, how i can use Application Navigation Framework (SL) with MVVM, I'm use MVVM Light Toolkit.. Thanks. ...

Creating media visualization in Silverlight

I'd like to create to some custom visualization effects to a sound wave in Silverlight. As of Silverlight 3 there's the MediaElement class which does a great job in playing sounds/videos. To visualize however I would need some kind of event callback with some information on the currently played segment of the sound. Does the framework h...