Category: Silverlight

  • Final Release of Silverlight 4 Tools for Visual Studio 2010 and WCF RIA Services 1.0

    It’s been few weeks after Silverlight 4 release. Now you can grab the final release Silverlight 4 Tools for Visual Studio 2010. That tool will also install the the final release of WCF RIA Services 1.0 If you have previously installed the tools, you don’t need to worry, it will uninstall them automatically.

  • “Invalid FORMATETC structure” error on control drag n drop

    Today when I was developing Silverlight app using Telerik RadControls, there was an error “Invalid FORMATETC structure” prevented me to complete the drag n drop of RadControls to the XAML editor. I didn’t have any idea what was caused it because I could still drag n drop the Button control to the XAML. I thought…

  • Working with Image.Source on Silverlight 3

    Below are some options to work with Image.Source 1. Embedded in the .xap file as Content Note that the Build Action is “Content” XAML <Image x:Name=”imgContent” Source=”/Assets/Images/2.jpg” /> Code (C#) imgContent.Source = new BitmapImage(new Uri(“/Assets/Images/2.jpg”, UriKind.Relative)); 2. Embedded in the .xap file as Resource Note that the Build Action is “Resource” XAML <Image x:Name=”imgResource” Source=”/SilverlightApplication1;component/Assets/Images/1.jpg”…