Telerik blogs

Latest

  • 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
  • Web

    API changes introduced by the new CoverFlow control

    If you missed the buzz, the Telerik team plans to distribute a beta release introducing new controls that will be officially included in the Q3 2009 release scheduled for November 2009. For those of you that didn’t have the opportunity to get familiar with what the new CoverFlow offers, take a look at my previous blog post here.   One of the new pieces that will be part of the pack is the new CoverFlow control. It is important to note that from Q3 2009 all previous versions of the control will be replaced with this one, which is specifically built for...
    September 14, 2009