Browse by Tags
All Tags »
Tips and Tricks (RSS)
Silverlight 3 do not have implicit style like WPF or a Theming feature like ASP.NET which means you can’t [automatically] apply a Style to every Button of the app like in ASP.NET for example. In Silverlight 3 you need to explicitly set styles on every...
Once your Silverlight application installed on the local computer what happens if there is an update ? The local application is not updated automatically but you can check that in your code. The CheckAndDownloadUpdateAsync() method downloads the updated...
An installed (OOB) Silverlight application is supposed to run the same as in browser, but sometimes you might want to debug it. First you could attach VS to the sllauncher.exe process, but there is easier: Run your application in the browser and install...
Today I wanted to add a bulleted list of text items in a xaml page, as there is no BulletedList control in Silverlight, you have to do it yourself. But I don’t need a databound list, just something simple in a TextBlock, so here is what I ended with,...
The first time a user visit the page which holds your Silverlight app, the browser needs to download the XAP file first, but sometimes this file can become large, so Silverlight automatically displays its default “loading screen”, also called a “Splash...
Just a quick note on this as I still found people stuck with this error: Error: Unhandled Error in Silverlight 2 Application Code: 2106 Category: InitializeError Message: Failed to load the application...
EnableFramerateCounter is a parameter you can activate on the Silverlight Plug-in object. (For a comprehensive list of Silverlight param, see my previous post ). This boolean value indicates whether to display in the hosting browser's status bar the...
I have been giving Silverlight trainings for a while now, and I found this to be a little known feature: the ability to provide Silverlight startup parameters with InitParams . Pass startup parameters to your Silverlight app You pass the parameters...
What if you want to get a Color from its hexa value (#FFBBCC88) ? Unfortunately Silverlight do not have the ColorTranslator class which allows you to do ColorTranslator.FromHtml("#FF1133") in ASP.NET. What we have is the Color.FromArgb() method...
By default in Silverlight a user can launch the same animation several times, even if the animation is not finished. Side effects: the animation starts again and your code (if any) runs twice. Sometimes this can be annoying. Let’s say you have a button...
As you may know you can set the EnableFrameRateCounter="true" property of the <asp:Silverlight> control to display the actual Silverlight framerate in the status bar of the browser. (You can also set the enableFramerateCounter param if...
Since I installed Windows 7 beta on my Dell D830 laptop I was not able to get Aero glass as my current driver only support 16-bit color. Moreover the nVidia beta drivers for Windows 7 available on Windows Update refuse to install for me. So I was stuck...
From Wikipedia: “ ASP.NET Dynamic Data is a web application scaffolding framework from Microsoft , shipped as an extension to ASP.NET , that can be used to build data driven web applications. ” So if you use VS2008 and .NET 3.5 SP1 you can take advantage...
Did you know that… you can use Live Mesh to backup files in 1 click ? Here is how to do this in Vista (with Live Mesh client installed): First, create a BackupToMesh folder somewhere on your drive Then Share it on your Mesh (Right-click / “Add folder...
[Post directly inspired by Brad Abrams ] Did you know that you can use Live Mesh to share and sync your Screen Saver pictures on every desktop/laptop in the house ? Here is the tutorial with Vista and Live Mesh client installed: First start by choosing...
More Posts
Next page »