silverlight-4.0

silverlight or jquery ajax for complex asp.net data form

hi, So part of my web app centers around this very important form which is used to create a form. Its like google docs form. The user keys in a type (checkbox, textfield, numericfield) and a label and slaps it into the system, and it generates a form somewhere. Its a little more complex than google forms, the field types are complex an...

HLSL for getting cylinder effect

Hi all. I need to write an application with Silverlight 4 and need to show images like wrapped on cylinder. I need some HLSL code, as I wont to do that with Effects of Silverlight. I don't wont to do that with 3D libarries for silverlight. I only need HLSL code for changing pixels. I need for my image to look like this Thanks. ...

Silverlight 4 DataGrid border around a column

I haven't been able to find anyway to dynamically add a border around a column in a silverlight datagrid. Here is my xaml of my datagrid: <sdk:DataGrid x:Name="PlannedAndBookedMonthlyTable" ItemsSource="{Binding}" AutoGenerateColumns="False" Margin="5,0,5,5"> <sdk:DataGrid.Columns> <sdk:DataGridTextColumn x:Name="MonthlyHeaderN...

Citation for Silverlight 4 backward compatibility?

I have a strong impression that the Silverlight 4 client runtime will run a Silverlight 3 application perfectly well, but for the life of me I can't find a definitive statement from Microsoft to that effect. Can anyone provide a reference? ...

How to install dynamic loaded xaps together with the main silverlight application?

I have an application that loads some xaps dynamically according to the user permissions. Is it possible to install the shell application (OOB) and also the dynamically loaded modules so the user doesn't have to download them every time? I would like to combine the advantage of the thin shell (fast initial loading time) with the out o...

Is there any way to get a MetaDataType generated from my WCF service

How do I get DataAnnotations from the WCF server to the Silverlight client, (note: not using RIA Services) ...

MEF Silently Stops Finding Exports in Deployment Catalog?

When my Deployment Catalog contains System.Windows.Controls.Layout.Toolkit.dll MEF 'breaks'... All I'm doing is adding a reference to this file in my project and the following diagnostics code writes nothing to the VS Output Window: this.CompositionContainer.ExportsChanged += (s, args) => { var o = args.AddedExports; o.ToList()....

KeyDown not fired in SketchFlow

I'm trying to add a KeyDown event handler to the LayoutRoot of a view in a Silverlight SketchFlow project, but it doesn't seem to fire. The event fires if I change the event type to MouseLeftButton, but I want to demonstrate this using a keyboard-shortcut. Does anyone know how to accomplish both? ...

Migrate asx file to silverlight playlist. Are <starttime> and <duration> functions available?

I'm pretty new to windows media player and silverlight. I have existing code that generates asx file and plays it with windows media player. I would like to migrate it to silverlight for it's cross-platform and cross-browser feature. I started with open video player and tried to have silverlight play asx file. It doesn't work out too we...

Transition from one page to another in Silverlight

While using Silverlight, if you have a lot of pages, what are the techniques that can be used for transition from one page to another. Basically, I want to create a MainPage that would have different sections, let's say TopLeft, TopRight, BottomRight, MainArea. These different sections will load different pages with a transition. Edit...

Tooltip not visible when the zoom level of the browser is less than or greater than 100% in Silverlight

I have a strange situation... The tooltip on an image in a silverlight module, which is visible at 100% browser zoom level becomes invisible if the zoom level is changed. Is this a bug? ...

How to Start a silverlight application from another silverlight application

I have silverlight application. What I want is. If my user clicks on Button 1. Then, it should open Application1(Another silverlight application). I came through this link. But, it is for launching an silverlight application from asp.net page. But, what I want is Silverlight app launched from another silverlight app. http://forums.sil...

What is the correct way to get a Collection with a Collection from a DomainService?

Currently I have a DomainService that gets lists of MainBusinessLines, Groups, and LOBs. It then loops and adds the Groups to the appropriate MainBusinessLine, and adds the LOBs to the appropriate Group. I have stepped through and confirmed that the collections are correct. But the issue is when the LoadOperation of the DomainContext loa...

how to pass a complex type using the Navigation framework

How does one pass a complex object to the target Page using the NavigationService.Navigate method? ...

Cancel Silverlight OOB Application Exit?

When the user closes my application I'd like to be able to prompt them with a confirmation if they have unsaved changes, and cancel the application's closing if they indicate to do so. The Application's Exit event does not allow cancellation. Is there any way to do this? ...

How to make a ListBox longer than the page?

I have a list of 100 or so items. I'd like to output all the items to the page, one beneath the other. Maybe 25 or so items will be visible initially, and when the users scrolls, the rest of the list will be visible. The catch here is that I don't want to use the ListBox's scrollbar - I want to use the page's scrollbar. (By page, I m...

PropertyChanged always null

This is my MainPage.xaml :- <UserControl x:Class="SilverlightPlainWCF.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibi...

Trouble with displaying deep zoom image in Silverlight

I have about as simple an example as possible and for whatever reason the image won't display when I run the Silverlight app. Basically I create the image project in Deep Zoom Composer and export as Empty Project + Source. Then I open that solution and put in the following XAML code, and no image shows in the browser. Any ideas? ...

Silverlight best practice for validation?

Is there some best practice or some recommended way how to validate forms in Silverlight? Right now I have to doall validation in endless nested if else structures and it just doesn't seem like a very reusable and maintainable way of doing this. If I want to show error messages next to each form element I also have to create an empty te...

How to raise an Event in asp.net application from a silverlight application.

I have a Silverlight application hosted inside an asp.net website. In my silverlight applicaiton, if I select a theme. Then, theme changes will gets fired. I want to get notified in asp.net web page, when the theme changed event is fired inside the silverlight application. Note: Also, I don't want to use a data base to maintain the sta...