• .NET

    RadMediaPlayer true FullScreen support

    Telerik's official Q3 2010 release just came public introducing many improvements and new features. One of them is RadMediaPlayer's full screen support. Prior to Q3 2010 release developers had to implement additional logic to provide full screen support for their apps using RadMediaPlayer. With the new release users can experience true full screen apps without any custom code. Full screen support is build inside the media player but can be easily customized by using the IsFullScreenProperty or attaching a handler to the FullScreenChanged event. In addition, two new properties are available which you can use to customize whether the video controls panel and...
    November 11, 2010
  • .NET

    RadRating – the new Precision property

    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},...
    November 08, 2010
  • .NET

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

    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...
    October 26, 2010
  • .NET

    How to: Telerik’s TabControl for Silverlight

    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...
    September 28, 2010
  • .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...