Embedding Resources in Silverlight


This post explains how to embed a resource file in Silverlight and use it. For the example we’ll consider embedding a CSV file and using it. Copy the file inside the project under the appropriate path. In the properties of the file set the Build Action as Embedded Resource. The below sample code shows how... Continue Reading →

Advertisements

UI Updates – Part 2


ASP.NET ASP.NET UI updates are handles using Ajax. In this example it is described how to use the ASP.NET Ajax for the updates. In ASP.NET Ajax we can have update panel and make the updates via Ajax calls. Prepare your ASPX markup like below. 1: <body> 2: <form id="form1" runat="server"> 3: <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 4:... Continue Reading →

Styles and Templates in Silverlight


Styles This post has very short code snippets to explain the styles and templates in Silverlight. Styles are used to set the properties of a UI control. For example this shows the inline style setting of a Button control. <Button Content="Direct Styling" Height="30" Margin="12,73,298,197" Width="90"> <Button.Style> <Style TargetType="Button"> <Setter Property="Background" Value="DarkOrange"/> <Setter Property="BorderBrush" Value="Blue"/> </Style>... Continue Reading →

Silverlight Dispatcher


Threading in Silverlight is simple and have very few classes and limited functionality. In Silverlight we rarely go for the threading since the platform itself is asynchronous. Click to read how to do asynchronous programming in C# 5.0 In Silverlight the  main thread is incorporated with the Dispatcher, and we can use the BeginInvoke method... Continue Reading →

Windows Phone All in One Kick Start => Meet Jack Sparrow


Hi this is a quick and simple WP7 application, which demonstrates some of the advanced features within very few steps. If you are already familiar wit h WCF and Silverlight then WP7 development is very easy for you. This application explains the following features. Accessing the WCF service from the WP7 application. Handling Cross reference... Continue Reading →

Powered by WordPress.com.

Up ↑

%d bloggers like this: