silverlight

Does the DLR or better Iron Python run in Silverlight?

Does the DLR or even better Iron Python run in Silverlight? ...

Problem parsing a XML response from a Last.fm REST service in Silverlight 3 using LINQ to XML

I've got some problems parsing the response of a Last.fm API call from a Silverlight 3 application. I pass the response string of the REST service call, which was made via the WebClient class, to the XDocument.Parse() method to get a XDocument. Parsing the xml string seems to be successful but when I look at the resulting XDocument it ...

Multiselect WPF Listbox Make Multiple Selections With a Single Click

Hi, I have a databound multiselect listbox bound to a datatable. When I select a listboxitem I want some other listboxitems in the same listbox to be selected automatically. I want multiple items to be selected with a single click. How can i do that? I can't do it in SelectionChanged event because it leads to calling the same event again...

deep zoom factor basic questions

Hello everyone, My question is about ViewportWidth property of MultiScaleSubImage. When ViewportWidth is 2, it means the image is zoomed in 2 times, i.e. the image is displayed 200% for both width and height. My questions are, when ViewportWidth is 2, it means the display size of image is 4 times of original size, and the original si...

Generally Preferred Method for a 'Wait' Screen using MVVM and Silverlight

I'm moving along on a small proof of concept application. This is mostly to beef up my MVVM skills within Silverlight. I came across an interesting problem today that I could not figure how to solve the MVVM way. I wasn't successful finding anything relevant during search either. So on to the problem, I have a simple business type app...

Load images via UNC in silverlight

Is it possible to show media from a UNC path in silverlight? I know I can't load items from the client side, but I have access to the files on the web server via unc. I have a webservice that shows all of the available files, but I need to play the movies and show the images and I am not sure its even possible. ...

Creating Xaml control in (aspx)web application.

Is it possible to create a .xaml (silverlight) control in a web application project? I have an aspx application wherein I am using ajax controls and updatepanel. I want to create some silverlight controls in the same project, and load it along with my other pages/controls. I am not sure if it is possible to create a silverlight control...

Automatically Remove Hyperlink Buttons from ListBox

Hi, I have worked through the answer provided here. I have been able to create a list of automatically generated Hyperlink buttons in a ListBox. The goal is that, when a different user is typed into the box and the button is clicked, they old artists are removed (assuming it's a valid username) and replaced with the artists from the n...

deep zoom image size issue

Hello everyone, My question is from the below MSDN link about deep zoom, When ViewportWidth is 1, it means the picture is never zoomed in and never zoomed out, and displayed at its original size (original size I mean the width and height defined in picture header), correct? 2. My confusion is, when we use deep zoom composer, the tota...

Is it possible to hash a password and authenticate a user client-side?

I often make small websites and use the built in ASP.NET membership functionality in a SQL Server database, using the default "hashing" password storage method. I'm wondering if there's a way to authenticate a user by hashing his password on the client and not sending it in clear text over the wire without using SSL. I realize that thi...

Slowdown (Scrollbar or UI in general) in Silverlight when there are many controls

I'm looking for some insight into the workings of Silverlight - at this time I suspect I need to know more about how UI event dispatching and control repainting are done to work out a solution or compromise for the following problem: I have a large number of elements (of which I am representing as controls) on screen. Numerically it's a...

Binding from within a DataTemplate?

I'm building a Silverlight control and I'm trying to set up bindings for the Header and Body ContentControls through their respective DataTemplates. I'm not sure why, but this does not work (silently fails). My only guess is that it is because the DataTemplates are StaticResources. Can anyone offer advice? The control has the followi...

Remove cell editing style in read-only Silverlight DataGrids.

I'm using a DataGrid in Silverlight in ReadOnly mode. However, the DataGrid still allows selecting individual cells (changes background color and adds a thin blue border). I believe, the DataGrid is still turning the cell into a TextBox, but making it read-only. I don't want the user to be able to select a single-cell, only a row. Is...

How can I forms authenticate a user in a custom webservice?

I am working on integrating a silverlight site into our existing application and am trying to get the login functionality working. The Silverlight application needs to have it's own login page, and the login needs to utilize the existing ASP.NET forms authentication. As part of the login procedure, we are calling some external code, so...

Silverlight for the masses, is it time

We are launching a site that is media heavy and looking at using silverlight, since most of our video library is in wmv and from what i understand flash serving still costs a couple bucks. Is silverlight really adopted out there, I know i use it as well as a bunch of developers for internal apps but as far as a web application is it rea...

Silverlight out of browser icons displaying inconsistently

I'm getting some strange behaviour with the out of browser icons in a Silverlight 3 app. All four sizes are defined in the AppManifest.xml and each icon has the build action set to "Content". However, I'm only seeing the icon display on the very first install prompt (128x128 icon) and not on the desktop, shortcut menu or title bar when t...

Silverlight DataGrid.Celltemplate Binding to ViewModel

Hi. I am in the process of implimenting the MVVC pattern and am having trouble binding a property in the viewmodel from within a DataTemplate within a datagrid. If I have a textblock outside the DataTemplate in the column it works fine (since I am directly referencing the datacontext of the UserConrol, i.e. the VM) however from within t...

Silverlight: stretching to remaining space in StackPanel

I have a vertical StackPanel with two elements: a Button and a ListBox. How can I have the ListBox stretch to the remaining page height? <StackPanel Height="Auto" Width="Auto"> <Button Height="30" Width="100" Content="Get Content" x:Name="GetContent"/> <ListBox Height="Auto" Width="Auto" VerticalAlignment="Stretch" HorizontalAli...

Can I create a cross browser compatible silverlight page without code behind?

I have been developing a silverlight page using just xaml, javascript and html (I literally only have a .html, .js and .xaml file). The problem is, I just realized that it isn't working in any browser EXCEPT Internet Explorer (7 for sure). I have too many lines of code to want to add vb.net or visual c code behind and use the html brid...

Silverlight 3 multi-lingual support

Hi, We are currently working on a Silverlight 3 project that requires the UI to be translatable into various languages. This needs to include support for non Latin character sets (initially Cyrillic and Arabic scripts). Much of the research that is available online suggests that people have had problems with the fonts to support this. ...