silverlight-2.0

How can I make an image "jitter"?

I have an image on my silverlight app and I want it to shake a little bit when the mouse is on top. How can I achieve this? I'm really new to silverlight animations. I need it to bounce a bit and tilt from left to right. Can anyone help? ...

Silverlight 2, Cannot Update Service Ref with New Service

In Silverlight 2, I am attempting to add a new service which will return an object containing two lists from the WCF Service to the Silverlight app on the client. The svc and interface file already contain two contracts which work and are being used. After adding the new service, I click on the "Update Service Reference" option in the S...

Silverlight checkbox two way binding not working as expected

I have simple issue setting a two-way databinding of a checkbox in Silverlight 3.0. It must be a no-brainer but probably I forgot my brain home today... I defined a Model class to represent my .. 'data'. I implemented the INotifyPropertyChanged interface to enable the UI to see when the data changes. public class Model : INotifyPropert...

How do I include specific controls from System.Windows.Controls in my Silverlight app?

Microsoft has a handy reference of the various controls in the System.Windows.Controls namespace and which controls are included in the runtime. For any controls listed here that aren't included in the runtime, you have to include the reference to the System.Windows.Controls assembly and select "copy local" in Visual Studio. So that's ...

Silverlight defaultStyle problem

I have the following scenario: Create a new class library project called Lib1 1.1. Add a new control called control1, Themes/generic.xaml file and specify the default style of control1. Create a new class library project called lib2. 2.1.Add a new control called control2, Themes/generic.xaml file and specify the default style of contro...

Simpler Explanation of How to Make Call WCF Service without Adding Service Ref

In Understanding WCF Services in Silverlight 2, the author, David Betz, explains how to call a web service without adding a service reference in the client application. I have a couple of weeks experience with WCF, so the article was over my head. In particular, although the author gave a lot of code snippets, but does not say what go...

Silverlight exception not being handled with JS

I am debugging Silverlight 2 on Firefox. I get an unhandled error in firebug : Unhandled Error in Silverlight 2 Application Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.GetValue(INativeCoreTypeWrapper obj, Depende...

Using .NET 2.0 class library from Silverlight WCF service, public properties remain unexposed

Hi all, Here's a bit subtle issue I'm dealing with, and would appreciate any help. We have our project on production mode, built with .NET 2.0. We have recently developed a Silverlight application external to the 2.0 solution, and it's "speaking" with a WCF service. This service consumes DLLs we copy from our 2.0 solution publish folde...

Silverlight - Good for Internet Business Application ?

I've heard the comment several times, once in one of Shawn Wildermuth's podcasts, that Silverlight is great, but might not be so good for 'entire' internet applications. This comment never get's amplified, but the implication seems to be that you would use Silverlight in conjunction with standard aspx web pages. So far, the only downsi...

Double Click Event

How to make a double click event in C# for using Silverlight3.0. In my project, i had created stackpanel dynamically, When the user double click on the stackpanel, the child window will be displayed. There is no such event in silverlight. How to make a double click event for my application? ...

How can I assign a Storyboard for single rows in a Silverlight DataGrid?

Hi I'm trying to make some rows of a DataGrid blink from white to red depending on their status. So, I have tried this: (e.row is the current row Im trying to make blink) Storyboard PendingStory = new Storyboard(); ColorAnimation PendingColorAnim = new ColorAnimation(); System.Windows.Duration PendingDur...

Start Storyboard When Text Changes

I have a TextBlock bound to a property on my view model. I have a StoryBoard with fades the text in and out using the Opacity property. I am using this text to give the user feedback after they have performed an operation(success, error etc). How can I start the StoryBoard when the property changes from my view model? Is there a better w...

Silverlight 2 Zindex Issue on ASP.NET Page IE6

I Have a Silverlight Menu on a ASP.NET page, on this page bellow the menu there's a Html Table and bellow the table there's a dropdownlist. The silverlight DIV is position: absolute; z-index: 999; The silverlight App is designed with zindex in its elements, is windowless, and background transparent. This Works fine on Firefox however...

Silverlight 3 - Data Binding Position of a rectangle on a canvas

Hi Everyone, I am currently trying to bind a collection of objects to a Canvas in Silverlight 3 using an ItemsControl as below: <ItemsControl x:Name="ctrl" ItemsSource="{Binding myObjectsCollection}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <Canvas></Canvas> </ItemsPanelTemplate> </ItemsContro...

HttpWebRequest to SLL Uri in Silverlight 2.0

How do I do this? It seems the SilverLight 2.0 HttpWebRequest does not allow you to set Credentials or set the Authorization header. ...

Integrating Silverlight into aspx page

How we can add the silverlight project into a aspx page. I had created one digital clock project in silverlight. But i don't know how to integrate with the aspx page. Thanks in advance.. ...

Missing Unload event in Silverlight 2

Silverlight 2 is missing the unload event for a UserControl. Has anyone implemented a workaround for this? ...

How Can I Test the Silverlight Install Process

I would like to customize the user install process for my Silverlight application. I would need to repeatedly go through the installation process on my development workstation Short of uninstalling before each change I make and going through the install process again, is there a way to make my browser think Silverlight is not installed? ...

After deleting Silverlight app's host init-event fires again in IE

When I delete html node with silverlight 2.0 app inside, Init event fires again (only in in IE, but not in FF). How can I cope with this strange behaviour? Any help would be appreciated. Thanks. ...

refering datatemplate from datagrid in silverlight in code behind file

in this how to refer texbox in datatemplate in cs file and how to refering this textbox as child element to data grid AutoGenerateColumns="False" RowHeight="20" ColumnHeaderStyle="{StaticResource FOTDataGridColumnHeaderStyle}" Alternatin...