Click here to Skip to main content
15,888,527 members
Everything / Silverlight

Silverlight

Silverlight

Great Reads

by Alan Beasley
Explanation and examples of Additional Templates and Generated Content of a ListBox. Covering Layout, Transitions, and Animation.
by defwebserver
How using the Silverlight DataTrigger allows you to run a process and then raise another when using View Model (MVVM)
by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
by Todd Davis
How to bind an enum to radiobuttons in Silverlight/WPF

Latest Articles

by OwenDavies
How to implement a crossdomain.xml file to allow the Flash client to connect to my site
by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
by webmaster442
How to format your XAML documents for effective version handling & maximum maintainability
by epicTurk
F# Quotations support for ViewModelSupport.ViewModelBase Property get\set Accessors

All Articles

Sort by Title

Silverlight 

11 Sep 2013 by Naila Akbar
I've a textbox for input (numeric value) of 12 digits and on the basis of that number I add some data into datagrid. For the first time when I enter any number it works correctly, but after adding data to datagrid when I enter any new number to textbox, it only gets 11 digits. when I check it in...
13 Sep 2013 by Naila Akbar
Solution that I got to solve out my problem is..I catch textInputStart event and there I check that if textbox.text contains "\r" then make it empty and after that I assign it new input. Still I don't get the reason that why there remains "\r" when am assigning it string.empty but my problem...
27 Feb 2011 by sanjay kaundal
Hi!How does the "Remember Me" functionality work in Silverlight?Thanks in advance!
27 Feb 2011 by Manfred Rudolf Bihy
Have a look here: http://forums.silverlight.net/forums/p/218351/520389.aspx[^].Hope that helps!
31 May 2015 by Rnshanmugavadivel
I am using Silverlight4.Getting error like this "The tag 'RadCartesianChart' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'."Please Help Me..
31 May 2015 by Maciej Los
You need to add reference to your project as is described here: http://docs.telerik.com/devtools/wpf/controls/radchartview/getting-started/introduction[^]
7 Jul 2010 by Bhargav (MVC Develper)
Silverlight Tutorial: Creating a data centric web app with DataGrid, LINQ, and WCF Web Service[^]At this Article What is DemoServiceClient i dont knowprivate void OnSubmitBtnClick(object sender, RoutedEventArgs e){ DemoServiceClient webService = new DemoServiceClient(); ...
10 Jun 2010 by Abhinav S
That appears to be the proxy to the webservice. However post this question in the article and the author might be able to guide you further.
24 Jun 2010 by Sunil Scaria
That is the Web Service Proxy reference Class for Communicating the WebServer :)
18 Dec 2009 by Aashish Khandelwal (.NET Developer)
In silverlight application i used the code:::string[] theFiles = Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.History), "*", SearchOption.AllDirectories);during build of code i got errorERROR::'System.IO.SearchOption' is inaccessible due to its...
18 Dec 2009 by Christian Graus
No matter how many times you ask this differently, the end result is the same. Silverlight is sandboxed, and you cannot write an app inside your browser, and expect it to have free access to your users hard drive. Given what I see of the sort of work happening in the outsourcing industry...
8 Oct 2010 by erummirza
I am getting the following errors:-Error 3 The type or namespace name 'ServiceReference3' does not exist in the namespace 'VotingPanel2' (are you missing an assembly reference?) C:\Users\Iram\Documents\Visual Studio 2008\Projects\VotingPanel2\VotingPanel2\MainPage.xaml.cs 13 20...
8 Oct 2010 by #realJSOP
Have you added a project reference to the VotingPanel2 namespace?
8 Oct 2010 by Abhinav S
You need to add the service reference 'ServiceReference3' to your project.
8 Oct 2010 by erummirza
yes its added already !!but its agian showing an error
10 Oct 2010 by erummirza
here is teh full codeusing System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using...
2 Apr 2009 by Ed Dupas
An extension of the code submitted in the article: "Modal Window in Silverlight". This extension wraps the hosted control in a window frame that provides various modal features.
10 Dec 2008 by Jerry Evans
Improving scrolling performance in Silverlight
4 Nov 2012 by snell_ramesh
Hi good folks,I am trying to open a file and read the data using Silverlight where the file/Stream is effectively opened via a WCF class that encapsulates a stream.When I attempt to implement what is described above the Async event handier return parameter, e.Result returns a Byte[] rather...
18 Oct 2011 by Redgate Software
Identifying an application’s performance bottlenecks is all about understanding how the application is spending its time. Only with the most complete understanding of how an application is operating is it possible to understand what it is doing wrong, as this article describes.
12 May 2014 by Brad Joss
[RegSave] your property to the Registry, and more.
19 Apr 2012 by Jani Giannoudis
Concepts and patterns for the handling of strings in multilingual applications.
13 Jul 2010 by Alan Beasley
The WC Door button, covering all the missing skills needed to create the buttons shown in my first tutorial. As well as all 10 buttons for download!
6 Jan 2011 by mbcrump
Here is a list of 15 things I've discovered about Silverlight
28 Aug 2011 by CrafterIt
Hello!Is there a way to use 2 different datasources in one datagrid?i want one source to bind to the headers in my datagridand the other source to bind to the rows?is it possible to do this, does anyone have an example?Thanks!
28 Aug 2011 by baisak
Hello Dear,For the header there is no use of using a different datasource. You can use your datasource to bind the data it will take automatically the dataset header name as the header. If you want not to show some columns then you can hide it by the hidden property in row_intialization event.
29 Aug 2011 by CrafterIt
I soved it by changing all the column headers in the code behind, i would prefered to solve it with data binding but anyway it works.this.datagridname.Columns[0].header = "headertext";I just change the headertext on all my columns this with the string from my datasource.
8 Oct 2009 by Shivprasad koirala
3 ways of applying layouts using Silverlight
19 Nov 2009 by kanni vasu
If any one has any demo project of 3-tier Silverlightarchitecture , Please give me. I am new to these Silverlight architecture. alredy created sliverlight enable wcf service like this i have one class rrf1 in that public class RRF1 { [DataMember] public List LocationList { get; se
27 Nov 2009 by AspDotNetDev
You need to format your question better, or nobody is going to look at it and you will not get an answer.
12 Dec 2011 by MetaMapper (Andy Powell)
A minimal 3D program showing how to use XNA in Silverlight-5, with a full explanation of the core concepts
12 Dec 2011 by MetaMapper (Andy Powell)
Learn 3D programming with Silverlight-5 and XNA
27 Nov 2011 by ravindra sawant
How to build 3D map in Silverlight using BingMap service?
13 Aug 2010 by Shivprasad koirala
4 simple steps to consume WCF service using Silverlight
12 Aug 2010 by Shivprasad koirala
In this article, we will look at how we can do database operations using SilverLight.
4 Mar 2012 by ilostmyid2
hii've an image in a grid in the user control. i've set alignments of the image as stretch. so width and height of the image are set automatically. at the beginning of application i need to know the dimensions of image, but they're NaN and i can't know what values are really assigned to...
21 Apr 2012 by Kelvin Armstrong
The problem is that the ActualWidth and ActualHeight properties are not dependency properties so you will need to created your own that can be bound to on the view model.Alternatively, Create your own event on the user control that hosts the image, and on the layout updated method, if the...
6 Mar 2012 by ilostmyid2
hii've an Image in the UserControl which Source is a BitmapImage. i need to pan what is shown in the Image control. how can i do that? in another words, how can i create another BitmapImage source which content be a shift of the original BitmapImage or how can i draw in the Image a shifted...
6 Mar 2012 by Pete O'Hanlon
Here's an idea of how to get started with this Here we've created a Canvas that we are going to use to pan...
12 Mar 2012 by ilostmyid2
hii don't know what change i made that caused my program not to work anymore. when running it say:A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in System.Windows.dllAdditional information: The invocation of the constructor on type 'gis.GISViewModel'...
12 Mar 2012 by Ganesan Senthilvel
Here are my suggestions that you could try:1.Check if you have enabled unmanaged debugging (in Project Properties -> Debug)2.Find out if there are any dependencies your C++/CLI DLL where the Winforms control is implemented and if those dependencies cannot be resolved.In order to find out...
15 Mar 2012 by ilostmyid2
hii tried handling Unloaded event for the main page (user control) and the image control inside it. neither is called when i close the page. so i don't know when the event is raised.i need to do something before the page is closed. that's closing the session i've opened when the page is...
19 Mar 2012 by AnobikDey
public MainPage() { InitializeComponent(); App.Current.MainWindow.Closing += new EventHandler(MainWindow_Closing); } void MainWindow_Closing(object sender, System.ComponentModel.ClosingEventArgs e) ...
19 Mar 2012 by AnobikDey
Ya the loaded event ( its just the constructor of the xaml file is called again )and the aspx page load event is fired . Sessions produced in silverlight are cleared ..
29 Apr 2012 by ilostmyid2
hii need to know when resize ends in my Silverlight application. how can i do that?
29 Apr 2012 by Sandeep Mewara
See if these help:Layout Events - SizeChanged and LayoutUpdated[^]MSDN: Content.Resized Event[^]
30 Apr 2012 by ilostmyid2
himy application is of type Silverlight. i want to trigger when user clicks on the border of the browser. for this purpose, i used this method:public MainPage(){ InitializeComponent(); bool bResult = System.Windows.Browser.HtmlPage.Window.AttachEvent("onmousedown", new...
30 Apr 2012 by Manfred Rudolf Bihy
Clicking on the border will not generate an onmousedown event. The border does not belong to browser windows client area so no event will be generated. If you resize the window though, the client area will also change and thus the container for the root element resizes which triggers an onresize...
1 May 2012 by ilostmyid2
in a Silverlight application, we used to send requests from client to server and receive its response.is it possible to send an information from server to client which is not waiting for? for example server ask client to update a text in a special text box and so on. "an info or known command...
10 May 2012 by ilostmyid2
in the following code behind:namespace ResizeTester{ public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); _sr.ResizeCompleted += OnResizeCompleted; ...
3 Apr 2012 by bafled in baltimore
Whoa, I do apologize, I thought that this had been deleted. This was my first post before I spent the morning researching on this website and learning protocol. I also have some remote server issues and what was posted is not exactly what I wrote.That being said, I am perhaps a novice and...
6 Sep 2012 by Savalia Manoj M
How to pass Control Event to ShellView (Main Page) using Caliburn.Micro?
30 Nov 2014 by Member 2440703
I am trying to calculate the position[point] of UIElement on browser. I am considering the zoom factor.I have following extension method to do it:public static Point GetPosition(this UIElement element) { var gt =...
6 Dec 2012 by Savalia Manoj M
[Silverlight] Checkbox list within ListBox using DataTemplate.
18 Mar 2011 by #realJSOP
Instead of getting the red circle, I get the hollow circle with an exclamation point icon, and when hovered, it says:This breakpoint will not currently be hit. No symbols have been loaded for this document.I've tried shutting everything down, deleting the bin and obj folders, and even...
18 Mar 2011 by Yusuf
John, I am really disappointed. Aren't you who scold people for not harnessing the power of google. See what I found using your own words[^]: http://social.msdn.microsoft.com/Forums/en/vssetup/thread/000cefdc-369c-421d-8e23-8c4e7c312ee1[^]
18 Mar 2011 by Sandeep Mewara
By any chance can this be it?:Unable to DEBUG Silverlight project?[^]Might be the Silverlight debugging is off, but I doubt it as you surely must have checked that in the first place.
22 Feb 2011 by #realJSOP
I'm using the DataVisualization namespace in the Silverlight Toolkit. I'm trying to figure out how to create a custom tooltip. I've overridden the datapoint template, and I know where to do what I want to do, but not exactly how to go about doing it.Essentially, I want to show the series...
22 Feb 2011 by #realJSOP
01/17/2011 08:00 (SOLUTION) ===========================================================================ATTENTION! Please do not delete this as I am testing Codeproject site functionality regarding posting solutions to your own questions. Many...
27 Jul 2010 by Vinodh.B
Hi , I had used the silverlight in a pop up screen . i could't trace out the error since i debugged every line and checked . can any one specify the cause of the error . http://i842.photobucket.com/albums/zz344/vinodh28/SLError.pngWith RegVinodh.BUPDATE from OP: The issue...
26 Jul 2010 by Arun Jacob
Have you debugged silverlight project? It seems like your silverlight project is throwing run time error. You can easily find out this by debugging silverlight project.
27 Jul 2010 by Vinodh.B
Hi , The issue is due to the null value passed From DB . With Reg
16 Jun 2011 by idanb
Hi, Recently I uploaded my website project from the Development machine to a webserver.I've noticed that only the silverlight is not loading in my main-page, and I wonder why I get this error in the test page on the web because in my development machine everything is OK.Link to my...
16 Jun 2011 by Abhinav S
There are some settings that you need to do for hosting SL apps on IIS - hope you did these[^].
16 Jun 2011 by idanb
Fixed , I renamed Xap to Zip and changed the reference inside the html
13 Dec 2011 by larssy1
Hi everyone,Since I couldn't find anything on the forum about this problem, i'm hoping you could help me out.I would like to show a list of checkboxes within a ListBox.Code i'm using:http://pastebin.com/PCizZT5wXAML:http://pastebin.com/8fhbQpMSHowever, when I select a...
13 Dec 2011 by Fabian Tamp
Wow. That's a weird issue. Even weirder dropping the code into my own project and verifying the problem!From the random nature of the checkboxes, and the fact that when you scroll down some will be checked, and when you scroll back others will be checked, I'd say it'd have something to do...
29 Jan 2011 by 69Icaro
Analyzing the Snake game, we'll study an application for the new Windows Phone 7 platform, focusing on localization, Inversion of Control, navigation, transition effects, triggers, Isolated Storage, audio and we'll also use Blend to create a rounded glowing button, and other things...
19 Sep 2012 by Jens Theisen
A grid splitter separating four quadrants
11 Dec 2011 by Raj Lal
Chapter 11 of "Fun with Silverlight 4" More information at http://silverlightfun.com
4 Jan 2011 by mbcrump
A better way to organize your Silverlight Code Snippets
28 Mar 2012 by Christopher Camacho
A user control for entering numeric values
24 May 2011 by Colin Eberhardt
How to re-template the Silverlight ProgressBar control to render a circular progress indicator
11 Feb 2012 by Ilya Builuk
This article describes the key principles of PhoneCore Framework implementation and how to use it for building Windows Phone 7 application.
3 Feb 2010 by User 4677916
This article presents a reusable class and technique for easily doing Asynchronous Programming using the Begin/End Pattern and the new Reactive Extensions for .NET (Rx) library.
31 Mar 2009 by Timmy Kokke
A detailed walkthrough on how to style a basic Silverlight button into a "Glass Orb" button.
22 Sep 2010 by Sandrino Di Mattia
Clean up and manage your XAML references. This can be done using custom namespaces (scheme URLs) and custom prefixes.
24 Mar 2010 by Alishah Novin
Currently, ComboBoxItems cannot be selected using the keyboard - only the mouse. This is an attempt to resolve that.
3 Feb 2010 by Dr. Song Li
This article introduces a more flexible and secure method to configure Silverlight applications using the Web.config file from the ASP.NET host application.
10 Jul 2009 by Andrius Mudinas
A multilingual Silverlight virtual keyboard.
21 Jul 2009 by Alberto Venditti
How to implement paging and filtering on a Silverlight 2 ListBox.
1 Dec 2009 by J. Ambrose Little
When your boss asks you to create applications transforming your data warehouse into business intelligence, you need the right set of Silverlight 3 tools to make this transformation quickly and easily. Here is a pivot grid control that really gets the job done.
6 Jul 2011 by Weidong Shen
This article describes building a sample Silverlight application with the MVVM Light toolkit, WCF RIA Services, and a pluggable application architecture using MEF.
31 Aug 2011 by pierre poliakoff
A tutorial on how to write a Silverlight game based on the classical Pong game.
22 Feb 2011 by İlkay İlknur
Silverlight Focusing Issue
21 May 2010 by Dr. Song Li
This article gives a practical quick-start tutorial on MVVM in WPF for application developers.
11 Jan 2011 by Kunal Chowdhury «IN»
A Quick Guide to Silverlight Ribbon Controls (Part - 1)
10 Sep 2011 by defwebserver
We will create a Silverlight Custom Control called “LightSwitch Explorer” that will display information about the collections of the screen that it is displayed on, raise methods, and switch screens.
7 Jul 2011 by Weidong Shen
Part 1 of a series describing the creation of a Silverlight business application using MEF, MVVM Light, and WCF RIA Services.
8 Jul 2011 by Weidong Shen
Part 2 of a series describing the creation of a Silverlight business application using MEF, MVVM Light, and WCF RIA Services. In this second part, we will go through various topics on how MVVM Light Toolkit is used in our sample application.
8 Jul 2011 by Weidong Shen
Part 3 of a series describing the creation of a Silverlight business application using MEF, MVVM Light, and WCF RIA Services. In this part, we will discuss how custom authentication, reset password, and user maintenance are implemented in the sample application.
3 Mar 2010 by Jevgenij Pankov
A Silverlight application using the WCF RIA Services Class Library. Demonstrates how to implement a custom Authorization Service, utilize localized resources, and add unit tests for DAL.
15 Mar 2011 by Hiren Khirsaria
Zooming and panning an image in a Silverlight application.