silverlight

When will there be support for WYSIWIG editing of Silverlight XAML in Visual Studio?

Why do we have to spend more $$$ for Expression Blend after I already spent $$$$ for Visual Studio 2008 with MSDN subscription? Will there be a service pack for 2008 to support this, will it be part of VS2010, or will we always have to use a separate tool? Thanks ...

Tools to convert html layouts to Silverlight 3.0

I have a couple of applications for clients that were dragged into the web kicking and screaming. I'd like to take a crack at moving some to Silverlight 3.0 if even just as a proof of concept exercise. I'd like to see if I could make them full apps, layout and all. I think the layout of the web app along w/ the graphics is good and do...

What to learn for RIA

hi, I am planning to build a RIA about a year from now (when my current contract ends). What technology would you recommend investing time in? I will need good cross browser/platform support for video, music, and canvas. And ideally I would like to leverage my Python skills. Silverlight looks interesting because I could use Python th...

digest authentication from silverlight and against a custom store using IIS 6

The server side of the requirement is digest authentication against a custom credential store (ala a membership provider) and on the client side a silverlight application making calls to a RESTful api. i'm looking for pointers. Out of the box it looks like Digest only works against AD. From the client side, I'm use to getting the brow...

How can I call javascript functions and pass values from xaml/silverlight?

I'm creating silverlight without visual studio. I just have raw html, xaml, and js (javascript). What I want to do is pass values from the xaml to the javascript. I can call and activate javascript functions from xaml. See below. The canvas element has a mouse left button up event that callls LandOnSpace in the javascript. But ho...

Different data contexts in a SL3 form

I wrote a custom Silverlight 3 control that uses a class as its data context (MVVM pattern). I want to place this control on another control (form) through XAML. The child control exposes a Dependency Property that when set through XAML, will make it show detailed info. So an example is that the child control shows order details data, ...

Silverlight opacity clip

Can the opacity of a clipped region be adjusted? Can you actually say for the stuff that is not in the clipped region, show it at some level of opacity? ...

Silverlight Export Datagrid to Excel (without roundtrip)

I've got a silverlight 2 app with a Datagrid and a button for exporting it to Excel by making a trip back to the server. I can create an HTML string representing the datagrid. I'd like to attach this string to an html element, setting MIME type=application/vnd.ms-excel and have a prompt show up asking if I'd like to open or save the xl...

problem when sending images through wcf from silverlight

silverlight uses wcf with basicHttpBinding i send the image as an byte[], and it's working as long as the image has less than 20KB but when it's bigger i get the error: The remote server returned an error: NotFound in the Reference.cs public bool EndSave(System.IAsyncResult re...

Set focus on AutoCompleteBox in DataGridTemplateColumn

I have an AutoCompleteBox inside the CellEditingTemplate for a DataGridTemplateColumn and I am trying to auto-focus on it after a certain number of characters have been entered in a previous column. I have been able to get the focus to shift and the caret to set appropriately using the BeginInvoke method (described here) but only if the...

Silverlight synchronization

Hello, Im developing a silverlight app and I need to synchronize a list in different silverlight instances that can be offline. I'll have a server online to sync them. So we can imagine this: pc1: A1 A2 A3 pc2: A1 A2 (A3 deleted) server: A1 A2 A3 (deletes A3 to reflect pc2 and then updates pc1 to also delete) It mus...

Binding files from ClientBin folder into a ComboBox in Silverlight?

Hello all, I was wondering if it was possible to bind some filenames in a given directory of the ClientBin folder to a ComboBox. I'm working on this application that has a video Tutorials section. I've got a comobox that lets the user select which tutorial video they wish to see. Right now not all the videos are completed (it's a bit...

Deploying a Silverlight Application with built-in ASMX WebService to IIS

I've got a Silverlight application which uses a built-in .ASMX WebService to access a SQL database and run some queries. Everything runs without any hitches on my Development machine. I'm trying to deploy the application to IIS 6 and I'm having some issues. The Silverlight application itself seems to run fine, however the Web Service...

JSON stringify error on Silverlight event argument

I have the following Silverlight code: [ScriptableType] public partial class Page : UserControl { [ScriptableMember] public event EventHandler<UploadChangedEventArgs> OnFileProgressChanged; private void FileProgressChanged_Click(object sender,RoutedEventArgs e) { // test reasons only OnFileProgressChanged(null...

How to Use XDocument class in SilverLight Project (C#)

Hi, I'm trying to create a Silverlight application (for the first time) that involves parsing XML from a site and displaying information. To do this I am using Visual Studio 2008 on Windows XP Service Pack 3. I also have .NET Framework 3.5 SP1 installed. My problem is that no XML-parser I have seen on the internet works. The top of ...

What is the difference in speed between the DLR languages and C# in Silverlight 2?

For Silverlight 2, it looks like programming choices are: C# VB DLR scripting languages IronRuby IronPython A sadly neglected (if not cancelled) Managed jScript Is this a case where the native languages (C# and VB) are faster than the DLR languages by an order of magnitude or so? Any hope of "living" in IronPython when I do Silver...

Silverlight line of business applications

Ok I have been looking for some good examples of Line of business apps implemented in silverlight. I have come across a few bits on the net but nothing with any substance to it. The MS silverlight samples are cool for eye candy and stuff kind of like you see done in Flash but nothing that is true LOB lets actually make something useful ...

Is there a way to insert Silverlight XAML into my page using ASP.NET code-behind?

So, I want to create some Silverlight charts from some data on my ASP.NET web page. The way to do this, either using Visifire (my current thing) or the upcoming Silverlight charting, seems to be to create some XAML, or at least some Silverlight objects (like in this Visifire sample), and then stuff them into the page somehow. Strangely,...

Silverlight databinding selection?

Can anyone explain how silverlight/wpf databinding actually determines which is the right item to set as the selectedItem in a collection as in the following snippet <ComboBox SelectedItem="{Binding Mode=TwoWay, Path=Province}" ItemsSource="{StaticResource ProvinceCollection}" /> Where ProvinceCollection is simply a static...

Advertising with Silverlight

Let us suppose we have a site entirely written on Silverlight. All navigation occurs inside the SL application and data comes from services. I want to add advertisement in the app that will change on each navigation in the app (ultimately the ad should be relevant to the current content). So how to add advertisement to such kind of web...