Telerik blogs
  • Desktop WPF

    WPF / Silverlight: RadChart and MVVM

    While reviewing the daily portion of blog posts today one article at Delay’s blog here caught my attention – customizing the MS chart control via re-templating and the MVVM design pattern in order to achieve different colorization of the bar series items in a single series. We have discussed similar functionality some time ago but it seemed like a very non-mainstream scenario and based on our experience with the ASP.NET / WinForms chart it was rarely requested feature so we decided we can go without it for the time being. However, once I read the article I started thinking what it would...
    February 05, 2009
  • Release

    New Training Session on Silverlight Routed Events

      With the Windows Presentation Foundation a new type of events were introduced - the Routed Events. They have provided the developer with an entirely new approach to the eventing and the event handling. Basically, Routed Events traverse the logical tree upwards or downwards, depending on their Routing Strategy – Bubble and Tunnel respectively.  To get deeper with what the routed events are and how RadControls for Silverlight uses them we prepared this comprehensive training session. Before launching the video session you might check the Hristo Hristov's blog on Routed Events in Silverlight 2 and our dedicated page on support for routed events at: http://www.telerik.com/products/silverlight/resources/routed-events-framework.aspx.    ...
    February 05, 2009
  • Web

    Comparing Generic Types

        Today I was dealing with the problem of comparing generic types in Silverlight. After researching the problem I found many similar issues for which I couldn't find any straightforward solution on the web. So here we go - a post on the issue how to compare generic types. First, let’s say we have a simple generic class which is composed of two generic properties A and B, and a method that we will later use to compare these two properties. Moreover, I will constraint the class to invoke the constructor of the generic type argument by using where T : new()      public class GenericClass<T> where T : new()       {...
    January 10, 2009
  • Web

    Passing parameters to a UserControl inside RadWindow for Silverlight

    I just wrote a simple application that demonstrates how to databind a treeview to a dummy data source and edit its items in a UserControl, placed in a RadWindow. You could see my other blog posts for examples with web service binding and upgrade the application to suit your needs. To accomplish the requirements, we need to add a property that will contain the edited data item on the UserControl. When the selection in the TreeView changes, we will update that property with the new selection and then open the RadWindow. The UserControl will create a copy of the data item...
    January 07, 2009
  • Web

    Marketing and Silverlight, configuring cross-domain banners

    I have been part of Telerik’s Silverlight team for almost a year now, and I too well know that our marketing team is just two floors away to say anything bad about marketing.  So I will just say that now having Silverlight 2 in its official version out, marketing mix should adopt one more P in its four P’s concept, Ptechnology. That is why, I will try to explain this topic step by step, so that all marketing guys attracted by the name of this topic can delete the first paragraph and give it to their development teams for consideration....
    December 30, 2008
  • Desktop WPF

    WPF / Silverlight: RadChart and MVVM

    While reviewing the daily portion of blog posts today one article at Delay’s blog here caught my attention – customizing the MS chart control via re-templating and the MVVM design pattern in order to achieve different colorization of the bar series items in a single series. We have discussed similar functionality some time ago but it seemed like a very non-mainstream scenario and based on our experience with the ASP.NET / WinForms chart it was rarely requested feature so we decided we can go without it for the time being. However, once I read the article I started thinking what it would...
    February 05, 2009
  • Release

    New Training Session on Silverlight Routed Events

      With the Windows Presentation Foundation a new type of events were introduced - the Routed Events. They have provided the developer with an entirely new approach to the eventing and the event handling. Basically, Routed Events traverse the logical tree upwards or downwards, depending on their Routing Strategy – Bubble and Tunnel respectively.  To get deeper with what the routed events are and how RadControls for Silverlight uses them we prepared this comprehensive training session. Before launching the video session you might check the Hristo Hristov's blog on Routed Events in Silverlight 2 and our dedicated page on support for routed events at: http://www.telerik.com/products/silverlight/resources/routed-events-framework.aspx.    ...
    February 05, 2009
  • Web

    Comparing Generic Types

        Today I was dealing with the problem of comparing generic types in Silverlight. After researching the problem I found many similar issues for which I couldn't find any straightforward solution on the web. So here we go - a post on the issue how to compare generic types. First, let’s say we have a simple generic class which is composed of two generic properties A and B, and a method that we will later use to compare these two properties. Moreover, I will constraint the class to invoke the constructor of the generic type argument by using where T : new()      public class GenericClass<T> where T : new()       {...
    January 10, 2009
  • Web

    Passing parameters to a UserControl inside RadWindow for Silverlight

    I just wrote a simple application that demonstrates how to databind a treeview to a dummy data source and edit its items in a UserControl, placed in a RadWindow. You could see my other blog posts for examples with web service binding and upgrade the application to suit your needs. To accomplish the requirements, we need to add a property that will contain the edited data item on the UserControl. When the selection in the TreeView changes, we will update that property with the new selection and then open the RadWindow. The UserControl will create a copy of the data item...
    January 07, 2009
  • Web

    Marketing and Silverlight, configuring cross-domain banners

    I have been part of Telerik’s Silverlight team for almost a year now, and I too well know that our marketing team is just two floors away to say anything bad about marketing.  So I will just say that now having Silverlight 2 in its official version out, marketing mix should adopt one more P in its four P’s concept, Ptechnology. That is why, I will try to explain this topic step by step, so that all marketing guys attracted by the name of this topic can delete the first paragraph and give it to their development teams for consideration....
    December 30, 2008