Telerik blogs
  • 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 2 min read
  • Desktop WPF

    Display data hierarchy in the RadGridView

    Sometimes it can be valuable to display hierarchy data in a grid.  It can allow users to quickly drill down into the data at the click of a button.  Below you will see a sample database with just three tables. Notice that this is very elementary example, but it works well to demonstrate how easy it is to leverage hierarchy within the RadGridView control.  I am using LINQToSQL to pull the data from the database.  Below you will see the classes created after I did a drag and drop of the tables using Server Explorer in Visual Studio 2008. Now I can...
    May 27, 2021 1 min read