Year: 2009
-
Element to Element Binding in Silver Light 3.0
Objective This article I am going to discuss new feature of SilverLight3.0 called Element to Element Binding. I will discuss three samples to understand Element to Element Binding. Example I will take an example to explain Element to Element binding. I will bind value of slider control to text of a text block. First I…
-
File Handling in Isolated Storage in Silver Light
Objective This article will explain, How to create a text file in IsolatedStorageFile of a SilverLight 2 application. How to write into a text file in IsoltaedStorageFile. How to read a text file from IsolatedStorageFile. How to delete a file from IsolatedStorageFile. Step 1 Create a SilverLight application. By selecting File->New->Project->SilverLight-> SilverLight Application.Design the XAML…
-
Isolated Storage in Silver Light
Why Isolated Storage? SilverLight applications are partially trusted application, which are running on a sandbox environment. So, SilverLight applications are not allowed to access the file system of the client, where it is running for the security reason. Because it is not safe to allow any SilverLight application to access client computer, this may harm…
-
Refresh a DataGrid dynamically in SilverLight
Objective Core Objective of this article is to give step by step explnation of , How to update or refresh a DataGrid dynamically in SilverLight ? List which is to be bind must be ObservableCollection Item of list of business class must implement INotifyPropertyChanged interface. This article is explaning how DataGrid would get refresh dynamically…
-
Silver Light with ASP.Net MVC Framework
Objective In this tutorial, We will fetch data from SQL Server database using LINQ and display that data in Silver Light, while we are following ASP.Net MVC Framework Step 1 Create a Silver Light application. File -> New -> Project -> Silver Light Step 2 To hosting SILVERLIGHT application there are three options available for…
-
Run Time Binding in SilverLight
Objective This tutorial will explain Introduction of Run Time Binding in SilverLIght Example to achieve run time binding. Explanation We are having an IPL class. A list objlist is there which is containing numbers of IPL objects. Our example will fetch data from that list and display in silver light control on click event of…
-
Custom Panel in Silver Light
Objective Now it is time to get rid of default layouts of SilverLight. In this article, we will learn how to create a very basic custom layout and how to use that in SilverLight application. Step 1 Create a new Silver Light application. Step 2 Add a class in SilverLight application. Give any name for…
-
Dependency Property
WPF introduces a new type of property called Dependency Property. This Property is backed by WPF property system. It is used for animation; enable styling, automatic data binding and more. It depends upon multiple providers for determining its value at any point of time. The biggest feature of Dependency Property is it’s built in ability…