• .NET

    RadRating – the new Precision property

    November 08, 2010 Share
    With the upcoming release Q3 of RadControls for Silverlight and WPF the RadRating will come with a new feature – the Precision property. The Precision property have three predefined values: Item - you can rate with whole item (star) Half - you can rate with half item (star) Exact - you can rate with custom precision Examples Precision = Item (rate with whole item): <telerik:RadRating Precision="Item" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}" /> Precision = Half (rate with half item): <telerik:RadRating Precision="Half" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}" /> Precision = Exact (rate with custom precision): <telerik:RadRating Precision="Exact" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self},...
  • .NET

    How To: Hierarchy Load On Demand With RadTreeView for Silverlight, MVVM and OData

    October 26, 2010 Share
    Similar to this post, I’ve made a similar example on how to load on demand RadTreeView for Silverlight three level hierarchy using MVVM and OData service:  XAML  <UserControl.Resources>     <DataTemplate x:Key="OrderDetailsTemplate">         <Grid>            ...         </Grid>     </DataTemplate>     <telerik:HierarchicalDataTemplate x:Key="OrderTemplate"             ItemsSource="{Binding OrderDetailsCollection}"             ItemTemplate="{StaticResource...
  • .NET

    How to: Telerik’s TabControl for Silverlight

    September 28, 2010 Share
    Let’s go through implementing several scenarios for the TabControl with quick, short explanations:    1. How to databind the TabControl?    2. How to enable drag-rearrange of items?    3. How to animate rearranging items?    4. How to add a Close Button to the TabItems using a Command?    5. How to animate content changes?    6. How to add a “New Tab” button when databound?    7. How to animate item add / removes? Here is the end result:    And the demo project with everything included:  tabcontrol-howto-demos.zip And of course the details, in short - How to databind the TabControl? The TabControl is a standard ItemsControl and can be databound to...
  • .NET

    Localizing the Validation

    The example will work with the latest internal build and the feature required will be released in the Silverlight4, 2010.Q2.SP1. The Full Source Code is here. A few months ago we noticed a lot of XAML code being copied around. It was supposed to enable validation in our controls. It is all about those red borders showing around controls like RadNumericUpDown, RadComboBox, RadDatePicker etc. So we have created the ValidationTooltip in the assembly Telerik.Windows.Controls, namespace Telerik.Windows.Controls.Chromes that was supposed to encapsulate these visuals keeping all the storyboards and templates at one place. This all happened in Silverlight 3. Now in Silverlight 4...
  • .NET

    RadBook now supports virtualization

    I am proud to announce that RadBook, along with RadGridView, RadTreeView, RadTreeListView, RadChart and RadScheduler, now supports virtualization. With previous versions, it would take up to 16 seconds to load 1000 pages, where now it takes just 2 seconds to load a set of 10,000,000 (10 million) items.   The cause of the performance boost is the way RadBook handles the unnecessary(non-visible) elements. As you probably know, while turning a page, only four pages are visible at any given moment in time. Previous versions of RadBook would just collapse the unnecessary elements, which had a significant impact on the initial loading time. The...