Questions tagged [silverlight-4.0]

Silverlight is Microsoft's cross-browser, cross platform plug-in for media experiences and rich interactive applications. The version 4 was released in April 2010.

Microsoft Silverlight is an application framework for writing and running rich Internet applications with emphasis on multimedia, animations, and graphics, with features and purposes similar to those of Adobe Flash. The run-time environment for Silverlight is available as a plug-in for most web browsers. While early versions of Silverlight focused on streaming media, current versions support multimedia, graphics and animation, and give developers support for CLI languages and development tools.

It is the standard for writing Windows Phone 7 applications and is being promoted for Line of Business (LoB) applications.

Platforms Supported

  • Silverlight 4 for Window (Chrome, Firefox, IE 6-9) & Mac (Firefox, Safari)
  • Windows Phone 7, Windows 8

Links

Development & Design Tools

See also:

5179 questions
11
votes
3 answers

INotifyDataErrorInfo ArgumentOutOfRangeException when raising ErrorsChanged event

This is a wierd one and at this point I am thinking that it may have something to do with my machines configuration. Basically I have created a pretty standard implementation of INotifyDataErrorInfo and in certain circumstances, when raising the…
Simon Fox
  • 10,409
  • 7
  • 60
  • 81
11
votes
8 answers

What are the pitfalls of using .NET RIA Services in Silverlight?

Silverlight can use WCF, Web Services, REST based services, .NET RIA Services, but it seems like Silverlight and .NET RIA Services are preferred most. I want to know if there are any common issues [which can be a show stopper if one goes ahead with…
Rahul Soni
  • 4,941
  • 3
  • 35
  • 58
11
votes
3 answers

Silverlight 4: Detect browser F5 / refresh and X / Close

I want to determine how to filter F5, refresh button, X and close in browser via silverlight 4.0 or even in server side. thank you EDITED: I added bounty to my question just today, July 28 2011. My previous solution / answer is no longer working in…
xscape
  • 3,318
  • 9
  • 45
  • 86
11
votes
2 answers

Why can I not bind the Visiblity of a DataGridTemplateColumn in Silverlight 4?

It seems that it is not possible to bind the visibility property of a DataGridTemplateColumn in Silverlight 4 still. I did some Googling and there seem to be a few posts suggesting it was to do with the fact that it was not a DependencyObject and…
Rodney
  • 5,417
  • 7
  • 54
  • 98
11
votes
3 answers

Good Silverlight 4.0 chart / graph component?

I've been using the Silverlight Toolkit but I'm finding the quality lacking; in particular this memory leak / phantom point bug renders the Chart component completely unusable. Can anyone recommend a good chart / graph component for Silverlight 4.0?…
Duncan Bayne
  • 3,870
  • 4
  • 39
  • 64
11
votes
2 answers

Silverlight 4, Mouse Wheel Events and Windowless Mode

I have a Silverlight 4 application that benefits greatly from having native mouse wheel support for a number of controls. The page that hosts the application has a HTML driven drop-down menu that would normally overlay the Silverlight control. In…
Gareth Saul
  • 1,307
  • 1
  • 9
  • 19
11
votes
1 answer

How to put a white border to Black ellipse in windows phone 8

I am using the above given popup in my windows phone 8 application. My issue is for the black color list item, it is not possible to differentiate the item from other items. So my question is how i can put a rounded white border to this particular…
Nitha Paul
  • 1,401
  • 1
  • 14
  • 30
11
votes
1 answer

How to get hosting website url in silverlight application?

Silverlight App is hosting on a web site. How to get the hosting url in silverlight app code? For example if the hosting site is http://mysite/startingpage.aspx, then how to get "http://mysite" in SL app code?
KentZhou
  • 24,805
  • 41
  • 134
  • 200
10
votes
1 answer

Silverlight Vertical only ScrollViewer?

Is there a way to create a ScrollViewer which only allows content to scroll vertically? The horizontal (width) must be constrained in the same manner as a StackPanel's width is constrained to its parent (when HorizontalAlignment=Stretch). I have a…
Matt
  • 362
  • 5
  • 21
10
votes
2 answers

Silverlight not working in Firefox 3.6.12

We are having some wierd behavior in firefox with silverlight. We have tried everything and I am hoping for some more ideas. Below is the behavior Install firefox (3.6.12) and silverlight (4.0.50917.0). The versions there are locked and not…
Adam Lerman
  • 3,369
  • 9
  • 42
  • 53
10
votes
1 answer

weird error with RIA Services "code generator encoutered a fatal exception"

This is the second time that I have this really weird problem with WCF RIA Services! the sad thing is that I had to solve the problem twice, going through the different hoops again :(, even though I've left a note to myself pointing to the solution…
AbdouMoumen
  • 3,814
  • 1
  • 19
  • 28
10
votes
2 answers

"The type or namespace name 'XmlSerializer' could not be found" error when System.Xml.dll is referenced

I've already wasted a few hours on this one: XmlSerializer serializer; YES, the using is there, the reference is there, I made the entire solution in VS2010 using .NET 4.0 so it's not any of those things. If I go in Object Explorer I can find the…
Ed Ayers
  • 1,342
  • 1
  • 11
  • 24
10
votes
5 answers

"The tag 'MenuItem' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit'" error

I'm getting an error trying to build a Silverlight application on a new machine. (Silverlight 4, Visual Studio 2010) This application compiles without error on four other machines. The error is: the tag 'MenuItem' does not exist in XML namespace…
Ron
  • 121
  • 1
  • 4
10
votes
1 answer

Silverlight Constructor Injection into View Model + Design Mode

Im trying to get to grips with writing testable ViewModels in Silverlight 4. Im currently using MVVM light. Im using AutoFac and the IoCContainer is doing its job fine. However to inject into the constructor of ViewModels, which are bound to Views…
Jammin
  • 3,050
  • 2
  • 23
  • 34
10
votes
1 answer

How can I go to specific URL programmatically in Silverlight?

How can I go to specific URL programmatically in Silverlight?
Sergey
  • 47,222
  • 25
  • 87
  • 129