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
1
vote
1 answer

How to read TextBox foreground/background property in XAML?

I have a TextBox and like to set the foreground and background with a converter. Setting the values by the converter in general is no problem. But if nothing should be converted under some circumstances I'd like the converter to return the brush…
devployment
  • 2,121
  • 1
  • 22
  • 33
1
vote
2 answers

Turn off screen from inside app in windows phone 7

Is there way to turn off the screen from within the app in windows phone 7? I went through the documentation but could not find anything regarding this.
Gowtham
  • 386
  • 5
  • 20
1
vote
1 answer

Implementing sorting of a DataGrid bound to an ObservableCollection>

I have an ObservableCollection> bound to a DataGrid. I have tried to implement sorting/paging using PagedCollectionView class but it was not working. Does any one has any suggestions?
1
vote
1 answer

Convert a business application in progres from Silverlight to WPF

Almost 2 years ago, I asked a question how easy it would be to convert an application from WPF to Silverlight. The result was that I couldn't do it in a few days. Now we are considering moving in the opposite direction. We have an application that…
Terry
  • 5,132
  • 4
  • 33
  • 66
1
vote
1 answer

Writing a byte array to local disk fails in SL 4

I get a bytearray from the server which I want to write to my local disk. It's a spreadsheet and it's part of an export function. This is what I do on the client: Using oFileStream As New FileStream(path, FileMode.Create) …
Terry
  • 5,132
  • 4
  • 33
  • 66
1
vote
0 answers

How to stop Silverlight Control Toolkit PieChart from using random colours in its palette?

I'm using SL Toolkit 4's pie chart control on a page. Each time I update the pie chart, they are redrawn with different colours chosen from its palette. How can I get the pie chart to redraw the control with the same set of colours each time it…
abjbhat
  • 999
  • 3
  • 13
  • 24
1
vote
1 answer

TextBox DataField always updating source bindings on text changed with text box that fails validation

I have a TextBox with a two-way binding on the input. It is setup such that it fails validation if it is empty and displays a tooltip saying that it cannot be empty. My problem is that because it is failing validation, it tries to update the…
user1211135
  • 13
  • 1
  • 5
1
vote
2 answers

Server Variables not making it from my ASP page to my Silverlight App

I have a basic .ASP page like this, which when hit redirects the user to my SL app after adding a value to the session variables <%Session("valuekey")=somevalue%>
Josh
  • 1,648
  • 8
  • 27
  • 58
1
vote
2 answers

Silverlight always places Trademark symbol at start

I am putting into the TextBlock some text with trademark (TM): "Some text™" But text block shows (TM) sign at start - "™Some text"! How can I show (TM) sign in the place where I put it in the string? P/S: It looks unbelievable but it's true)
Alexander Molodih
  • 1,928
  • 2
  • 20
  • 30
1
vote
1 answer

How to dynamically change the Visual Behavior of a control in XAML

How to change the visual behavior dynamically through VisualStateManager without changing visual structure (Appearance) of an existing control. I have a scenario where i have a DataTemplate defined in ItemsControl to generate list of CheckBoxes and…
1
vote
1 answer

Force Silverlight 4 client install, NOT Silverlight 5

I would like my application to download and install Silverlight 4, NOT Silverlight 5. Anyone SL v.4+ installed on client computer = my app runs perfect. SL v.5+ installed on client computer = my app runs like poop and crashes. This is a business…
wakurth
  • 1,644
  • 1
  • 23
  • 39
1
vote
1 answer

how do i use events of RadDragAndDrop in ViewModel

I am using telrik RadDragAndDrop Tool with the ListBox. I am using silverlight with mvvm light. My question is that how should I use this code in ViewModel. This is a code behind file. public Construtor() { InitializeComponent(); …
R76
  • 446
  • 6
  • 25
1
vote
1 answer

Binding in behavior to datacontext of datatemplate in silverlight

I have a DataTemplate: