Silverlight 4 Training Kit

11. February 2010

Microsoft Silverlight team has released Silverlight 4 Training Kit.

image

The Silverlight 4 Training Course includes hands-on-labs, a video and a whitepaper designed to help you learn about the new features in Silverlight 4 focusing on three major areas: Enabling Business Application Development, Empowering Richer Experiences and Moving Beyond the Browser. Some of the new highly anticipated features include Printing, WebCam and Microphone support, custom right-click, rich text, HTML support and access to local files with trusted applications.

Download it from the following link:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=24cea29e-042e-41c9-aa16-684a0ca5f5db

Silverlight

No Silverlight 4 Support in Visual Studio 2010 RC

9. February 2010

Visual Studio 2010 Release Candidate (RC) is now available for download. If you’re MSDN subscriber, you can start to download as it has been available 8 Feb 2010. It will be available for public from 10 Feb 2010.

http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

This RC doesn’t support Silverlight 4.

image

But of course it doesn’t mean that Visual Studio 2010 RTM will not, it will.

See you at Visual Studio 2010 RTM, Silverlight 4…

Edit: Based on the following ScottGu's post, the next version of Silverlight 4 will be supported by VS 2010 RC (note that currently Silverlight 4 still BETA)
http://weblogs.asp.net/scottgu/archive/2010/02/08/vs-2010-net-4-release-candidate.aspx

Silverlight, Visual Studio ,

“Invalid FORMATETC structure” error on control drag n drop

18. January 2010

Today when I was developing Silverlight app using Telerik RadControls, there was an error “Invalid FORMATETC stucture” 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 it was Telerik but it could be anything.

Then the fast way to get the answer was of course Google.

Oops there are may results when I searched invalid FORMATETC, that’s a good sign to get the answer. Yeah it’s not Telerik specific error but Visual Studio error. It’s caused by the reference of toolbox items were messed up.

The solution was simply resetting the toolbox items by right clicking the toolbox then choosing Reset Toolbox.

Be patient, it could take sometime to reload all toolbox items.

Visual Studio, Silverlight, Telerik , , , ,

Telerik RadControls for Silverlight 2009.3 1314 released

17. January 2010

RadControls for Silverlight 2009.3 1314 is the first release this 2010. Few updates as well as fixes in this release, especially for RadGrid and RadChart. The complete release notes for this version can be found at the following address:
http://www.telerik.com/versionnotes.aspx?id=2153

If your Telerik subscription is active, this version should be there in your account.

Silverlight, Telerik , ,

Silverlight Unit Test Framework is now shipped inside Silverlight Toolkit

31. December 2009

In the November 2009 release of Silverlight Toolkit, the Silverlight Unit Test Framework is included not only the libraries but also the project template. The Silverlight Unit Test Framework project is originally hosted here.

You can download the November 2009 release of Silverlight Toolkit here.

I use Visual Studio 2008 and Silverlight 3. After installation of Silverlight Toolkit, I found that it’s installed in the “Program Files” under Visual Studio 10.0 folder.

image

No need to worry, when I run the Visual Studio 2008 and add new project, I can see the Silverlight Unit Test Application is now added to the Project Template.

image

If you need the libraries, you can find them inside the %Program Files%\Microsoft SDKs\Silverlight\v3.0\Toolkit\Nov09\Bin folder.

image

Silverlight , , ,

Telerik Silverlight 2009.3 1208 (Dec 8, 2009) Trial

29. December 2009

What is Telerik Silverlight?

Visit this page:
http://www.telerik.com/products/silverlight.aspx

A client wants me to work with Telerik Silverlight to provide flashier (good looking) to a business dashboard. So I decided to download and evaluate the Trial version first.

Overall the installation was great but I found a “hick-up” on the way.

I have Visual Studio 2008 SP1 and Silverlight 3 tool installed in my Vista machine. I then downloaded a Free Trial from Telerik. The version I downloaded is 2009.3 1208 (Dec 8, 2009).

Telerik provides a fully functional components for Trial but with Trial Error Message displayed randomly. You must register first to download the Trial.

The Trial installer was working perfectly and all things installed. But when I run the demo application an error thrown preventing the demo application to run.

After reading the error message, I understand that it’s because of I didn’t have WCF RIA Services installed in my machine.

The solution is by downloading it from this link.

The demo app is now working.


image4

There another issue, the help file installed with the Trial is not working. Based on a post in Telerik Forum, they will provides the fix in the next release. So the solution for this evaluation would be using the online help:
http://www.telerik.com/help/silverlight/introduction.html

Alternatively you can also run the help manually from C:\Program Files\Telerik\RadControls for Silverlight Q3 2009 SP1\Documentation\ViewHelp.bat

Great stuff, can’t wait to evaluate it!

Silverlight, Telerik , ,

Preparing Development Environment for Silverlight 4 Beta

27. December 2009

In this post I will share my experience in preparing Development Environment for Silverlight 4 Beta.

The main tool you would need is Visual Studio 2010. When i wrote this post, the latest public release of VS 2010 is Beta 2. Grab it here.

image

image

The the next tool is Silverlight 4 Beta Tools for Visual Studio 2010

Don’t forget to uninstall the Silverlight 3 installed with the Visual Studio 2010 Beta 2 first before you’re installing the Silverlight 4 Beta tool.

image

Installing the Silverlight 4 Beta tool.

image

 image

All right! Visual Studio 2010 Beta 2 and Silverlight 4 Beta is now installed.

Let’s create a dummy Hello World application to test.

image

I dragged a Button from Toolbox to the center then changed the Content property to “Click Me!”

image

Double clicked the Button, then I put this simple code to the Click event handler.

private void button1_Click(object sender, RoutedEventArgs e)
{
    MessageBox.Show("Hello World!");
}

and it’s working as expected.

image

This is the version of Silverlight 4 installed when I right-clicked the page.

image

That’s my experience in preparing the Development Environment for Silverlight 4 Beta.

Welcome to Silverlight 4 Beta evaluation! Open-mouthed

Silverlight , ,

Silverlight 4 Beta – Where to start?

26. December 2009

Silverlight 4 Beta has been announced on PDC 2009. Many new features added including printing & right-click support which is very important for business applications.

Another interesting thing is the support for Google Chrome browser. This means that our clients can now use all those 4 most popular browsers (IE, Firefox, Safari, and Chrome).

Live video & audio capability are also added to this Silverlight 4. That feature is absolutely will bring many new fans of Microsoft Silverlight.

Are those all? NO Wink

Where to start then?

Here they are:

Silverlight

How to set the Startup UserControl of Silverlight app

26. December 2009

You can set the default/startup UserControl of Silverlight app in the App.xml.cs file.

private void Application_Startup(object sender, StartupEventArgs e)
{
    this.RootVisual = new MainPage();
}

The MainPage in the above code is the startup UserControl.

Silverlight ,

Silverlight Toolkit October 2009 Release

20. October 2009

Good news! the updated Silverlight Toolkit has been released. A few new things and updates are added to this October 2009 release. You can find the full list here.

Don’t forget to read Tim Heuer’s blog post about the new Drag & Drop support of this new Silverlight Toolkit release.

Links:

Silverlight , ,