Telerik blogs
  • Web

    RadTreeView's TriState Mode in Deep

    Many of you have probably used Telerik's TreeView or going to do so in the future. One of its many features is the TriStateMode. In this blog post I'm going to explain how TriStateMode mode is designed to work and propagate the values up and down the tree. When in TriStateMode (IsTriStateMode=”True”) checking/unchecking an item makes the TreeView propagate the value. The value propagation actually checks/unchecks all items’ children and updates the chain of parents with appropriate value (checked, unchecked or undetermined). CheckState vs. IsChecked The TreeView exposes two properties used to manipulate items' check state - CheckState (of type ToggleState) and IsChecked...
    November 19, 2010
  • Web

    Want to see the (bright) Future of Silverlight?

    The latest release of Silverlight - ver.4 was released earlier this year. For me this was the first Silverlight release that was stable and mature enough so that I could recommend to anyone building business applications to use it broadly. Now, six months later, we can see that the Silverlight adoption is very high and that there are a lot of great tools built with it. Regardless of all the recent comments and mostly speculations about the future of Silverlight I believe that this will be the primary MS platform for building applications for Windows and Mac in years to come. At MIX this year, the Silverlight platform was also introduced to...
    November 16, 2010
  • Release

    Expression Descriptors in Q3 2010 for WPF & Silverlight

    Another four months have gone by and another awesome release of RadControls has arrived! One of the exciting new features in this release are the so-called 'Expression Descriptors'. Previously, whenever our clients wanted to filter data but needed even more control than our good old FilterDescriptor could provide, they had to subclass it and override some of its methods. Even though that approach works, it is tedious and cumbersome. And, as much as LINQ Expressions rock, having to manually generate expression trees by hand... yuck! The new FilterDescriptor<T> allows you to directly plug a predicate that determines which items are filtered. You...
    November 11, 2010
  • Web

    Silverlight vs HTML5 - WTF?

    It has been a wild weekend for sure. A slew of important announcements at PDC, sudden withdrawal of all Silverlight sessions, Bob Muglia’s statement about Microsoft’s change in plans, the uptake from journalists, the community uproar... A comedy of errors was unfolding in the technology space while I was happily spending my weekend enjoying my kid’s birthday and not thinking about dev platforms. So, I come in the office today and my inbox is blinking like crazy, mails from a ton of people from inside the company and out and the common question is – what are you/we doing with Silverlight?...
    November 03, 2010
  • Mobile

    RadDateSelector for Windows Phone 7 – Loaded within a standard in-browser Silverlight application.

    Silverlight for Windows Phone 7 is version 3.7 hence a WP7 control should be easily used within a standard Silverlight 4 application. But that’s in theory. The major differences between these two worlds are the so called “Manipulation” events. Each UIElement in WP7’s Silverlight is “enabled” with the following routed events: ManipulationStarted ManipulationDelta ManipulationCompleted  Generally this sequence of events encapsulates one or more touch gestures in a transaction block. The event arguments carry all the information needed to determine what the gesture is and what effect to generate. And of course RadControl for WP7 use these events extensively in order to provide consistent and rich...
    November 02, 2010