Telerik blogs

Latest

  • Web

    Navigation for CoverFlow

    The Silverlight team decided to remove the ScrollBar control that used to be part of CoverFlow's control template. One of the reasons behind this decision is the easiness by which you can now, using Silverlight 3 element binding, create your own navigation. To learn more about all changes introduced by the beta version check my previous blog post here. This article explains in details how to create your own navigation using a range control, e.g. one that inherits from the RangeBase class. The first thing we need to do is to declare a CoverFlow control with some items in a straight-forward...
    October 06, 2009
  • Web Desktop

    Adding additional power to RadGridView for Silverlight with attached behaviors

    PART II [example: Conditional formatting of cells in RadGridView for WPF and Silverlight]   Lets say we have a list of products and we need to mark higher prices (>15.00)  with a red color. Something like :     First lets try it with RadGridView for WPF : We have to create a small IValueConverter. It will take care to convert the value of the price to the appropriate color: 1: public class PriceToColorConverter : IValueConverter 2: { 3: public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo...
    October 03, 2009
  • Web Desktop

    Adding additional power to RadGridView for Silverlight with attached behaviors

    PART I [example: Adding an ‘Insert new row’ button to RadGridView ] Certain scenarios require adding additional behaviors and/or visuals to RadGridView. Implementing these as integrated features in RadGridView is not always appropriate as they may serve quite specific client scenarios or may require customization beyond the power of a common integrated feature. According to the canons of WPF and Silverlight such tasks should be easily achieved by modifying the default control template and adding the necessary visuals (e.g. user controls with some additional logic included). My experience with clients shows that such approach is sometimes kind-of frustrating as it often involves...
    October 01, 2009
  • Web

    Binding Hierarchical RadGrid with Telerik OpenAccess ORM

    It is quite often that different customers eventually face the need to use a master-detail hierarchical representation of their data. However most customers are not aware that this is extremely easily achievable using Telerik OpenAccess ORM together with our RadGrid. Furthermore it is achieved without writing ANY code in the code behind file of your project. Now let’s get to the job! What will be needed is just one RadGrid and two OpenAccessDataSource controls. The two data source controls will be used to query data from the master and detail tables. In our case we used the Company and Employee tables(one company has many...
    September 30, 2009
  • Web ASP.NET AJAX

    RadGrid for ASP.NET Ajax and DomainDataSource

    In July Microsoft released a preview of its upcoming Silverlight 3 RIA Services Framework which comes along with a new data source control – DomainDataSource. The DomainDataSource introduces a new way of accessing data by giving us a nice separation from the particular representation of our Data Model and more control over how the data is being retrieved or manipulated. This post will provide you with a quick walk-through on how to use the DomainDataSource with our RadGrid control. Install Microsoft .NET RIA Services July 2009 Preview As mentioned above the DomainDataSource control is part of the MS .NET RIA Services Framework, so...
    September 17, 2009