Tag Archives: Silverlight

Silverlight Client for Facebook

The Microsoft Silverlight 4 Beta Client for Facebook has been released as a developer preview sample. In order to use it you must have Silverlight 4 developer builds installed. There is a sample application which does the same things you can do when using Facebook web version. There are a lot of cool ways to explore your Facebook information. It supports some kind of Outlook integration - if you right-click on events that you may have to send an email and such.

You can download the application and try it yourself. It can also be intalled on Mac but only if Intel is inside. Enjoy! :)

Filled under News, Silverlight, Social Networking. No Comments.

Extending ItemsControl in WPF/Silverlight remark

Have you ever tried to extend ItemsControl in WPF/Silverlight? I guess the answer is Yes. In many situations you need to create a custom control, which support items. In this case you can use either ItemsControl or ListBox as a base. ItemsControl provides a couple of methods to help you build your items control. Such methods are IsItemItsOwnContainerOverride, GetContainerForItemOverride and PrepareContainerForItemOverride. When you add items to your control these methods are being called to help you manage your items. But have you run is such situation that when you added items these methods were not called? Well, it’s a very strange situation really. Here is you should make sure when you encounter this problem:

  • make sure you are extending ItemsControl
  • make sure your ItemsSource actually has items
  • make sure the control is visible
  • make sure you have put ItemsPresenter in the Template of your control

ItemsPresenter specifies where items should be placed, so always make sure you have placed it along other controls in the Template of your items control.

Filled under .NET, C#, Silverlight, WPF. No Comments.

Silverlight Write & Win Contest

Silverlight 2 ContestSilverlight Write & Win Contest was carried out for the second time. It is a interesting contest. You only have to write an article about Silverlight (application, control, game, web services, Blend, design, example, problem solution, etc). The first contest was organized by Michael Sync. Now, SilverlightShow take this initiative. They really did a great job in the organization.

I took part in the first edition, so I decided to write an article for this one, too. And I got it! I won the third prize, which looks like this:

  • Telerik – RadControls for ASP.NET AJAX Developer Subscription and Source Code License ($999 value). This license includes all 23 Telerik ASP.NET AJAX controls, a Gold Support Package and free product updates for a period of one year. The winners will also receive complimentary licenses for Telerik RadControls for Silverlight
  • SilverlightShow – $100 in Amazon Gift certificate or cache

Cool, right? The one who get the first prize is Alexey Zakharov with his article – Virtual earth deep zooming.

SilverlightShow announced that they intend to organize another contest, so I am waiting for it.

Filled under News, Silverlight. No Comments.

Silverlight Version 2 RC0 Released

Good news for the Silverlight fans – the first Silverlight release candidate is released. Note that this is not the final runtime, it is developer only. It is released to let developers get into the changes and reform their Silverlight beta 2 applications. There are some breaking changes between Beta2 and this RC. You can take a look at this great article for most of them. As such, you can only use the RC for development right now – you can’t go live with the new APIs until the final release is shipped (which will be soon though).

You can download today’s Silverlight Release Candidate and accompanying VS and Blend support for it here.  Note that Expression Blend support for Silverlight 2 is now provided using Blend 2.0 SP1.  You will need to install Blend 2.0 before applying the SP1 service pack that adds Silverlight 2 support.  If you don’t already have Blend 2.0 installed you can download a free trial of it here. (more…)

Filled under News, Silverlight. No Comments.

Find Your Books in Amazon.com with Silverlight

Introduction

Silverlight applications make it easy to perform a lot of actions. One of its greatest capabilities is to work with Web Services. In this article I will demonstrate how you can search books in Amazon.com with Silverlight. I have created a simple application which allows you to navigate through the great catalog of books very easily.

[ Online Demo | Source Code ]

(more…)

Filled under Silverlight. 1 Comment.