Telerik blogs
  • Web

    Conditional Formatting rows in RadGridView

    It can be useful at times to draw the users attention to a certain row or rows in a grid.  You might want to point out an account that is about to expire or show that an entry requires approval.  Normally, you would evaluate the data in the grid yourself to change the BackColor of a row.  The RadGridView offers you the ability to create a condition that will apply certain formatting for you.  I have created a simple class that will allow us to display a few laptop orders.      public class Laptop     {         public string Manufacturer { get; set; }         public double Price {...
    November 22, 2008 2 min read
  • Desktop WPF

    Animation with RadChart for WPF.

    Hi everyone, My name is Velin Angelov. I am a member of Telerik's Charting team and here I am going to write about a feature of the RadChart for WPF which you might find useful while having fun with it. RadChart for WPF was shipped with the 2008.Q3 release and one feature all of the charts have in common is being animated. From this point on there are three options: You are absolutely happy (as you probably will) with the default animation settings provided by RadChart. In this case you simply keep on coding. You totally disagree with the way RadChart is animated and...
    November 13, 2008 3 min read
  • Web

    Can your grid control do this?

        In “First Look at Silverlight 2” Scott Gu showed how easy is to change the visual appearance of a Silverlight application using the standard features of the Silverlight Grid control: While reading the blog, it occurred to me that it would be very easy to achieve similar effects with RadGridView for WinForms. With the latest version of RadGridView you can change the row layout using different view definitions in a very simplistic and easy way:     Using parts and ideas from Scott’s article, I compiled a small application that gets a list of article from digg.com via web services and shows them in RadGridView...
    November 13, 2008 2 min read
  • Web

    TreeView in a ComboBox dropdown using RadControls for Silverlight

    As far as I can tell from the experience of my colleagues with RadControls for ASP.NET AJAX, one of the common feature requests for RadComboBox and RadTreeView is combining them into one piece. Recently we started to receive similar requests for RadComboBox and RadTreeView for Silverlight. Placing a TreeView in a ComboBox sometimes makes a lot of sense, so I decided to research the best way to do it.   The first, the simplest and most obvious way is to place a RadTreeView as content of RadComboBox: <input:RadComboBox> <nav:RadTreeView  ItemTemplate="{StaticResource ItemTemplate}"  ItemsSource="{StaticResource ItemsSource}" /></input:RadComboBox> This works, but it has one important limitation: RadComboBox cannot...
    November 09, 2008 3 min read
  • Desktop WPF

    Styling Telerik Controls

    I thought it might be interesting to do a quick rundown of the Visual Style Builder.  This tool comes with your Telerik WinForms control suite and provides a quick and easy way to change the look of a control.  The Visual Style Builder is located under the Telerik directory in your Start menu. It allows you to modify a variety of settings for a given control to build your own themes.  For example, if you select the RadButton control under the File | LoadControl menu, you will see it displayed center screen.  As you move your mouse cursor over the control...
    October 28, 2008 2 min read