Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Desktop WinForms

    Draggable Series Items In RadChart for WinForms

    A few weeks ago, someone asked me if the RadChart supported dragging the series items around. The simple answer to this question is no, there is no out-of-the-box support for this feature in the RadChart. I was curious though, so I decided to try my hand at making this concept into a reality. What follows is the code I came up with to do it. Figure 1. The Final Result Fields and Constructor In the constructor I am basically generating a bunch of random values to use in the chart. As you can see, I am actually using two series. The ...
    October 02, 2009 3 min read
  • Desktop WinForms

    Multi-Item Drag and Drop with the RadListBox for WinForms

    Earlier this week, I ran across a forum post asking about how one would go about creating multiple RadListBoxes that supported multi-item drag and drop. This sounded like a fun challenge, so I decided to take it on. Referencing an earlier forum post that described single-item drag and drop, I came up with the following solution. Calling DoDragDrop() immediately changes the mouse pointer and readies the RadListBox for the drag-and-drop operation. Originally, I had tried calling this function in the MouseDown event, but this lead to unpredictable clunky behavior due to the fact that DoDragDrop() was getting called before I had the chance to ...
    August 27, 2009 1 min read
  • Desktop WinForms

    Full keyboard navigation coming in RadMenu for WinForms

    Perhaps nobody uses every bit of keyboard navigation when it comes to menus. I bet that there aren’t many of you who use F10 to activate the menu. You nevertheless expect our RadMenu to support keyboard navigation out of the box for the very few of your clients who are using the full set of navigation commands. Full keyboard support will be available in the next internal build so that you folks can give it a go: you will get accelerators, mnemonics, F10, and of course, the arrows and enter/escape keys support. The best part is that all commands will be internally...
    August 20, 2009 1 min read
  • Desktop WinForms

    Multiple child views with RadGridView for WinForms

    One of the most wanted features related to hierarchy in RadGridView is the support for hierarchy containing one-to-many relations. Now, this is possible by using tabbed child views. We added the feature in our latest release – Q2 2009.     However, RadGridView is not restricted to show only tables. Child views can be used to display any relevant information (e.g. rich text, picture or even a chart). If fact you can use any RadElement or host a control by using the RadHostItem. In the example below I will demonstrate how to do it.   You should follow a few simple steps:   1. First bind the...
    August 05, 2009 4 min read
  • Desktop WinForms

    Building Advanced Layouts With RadSplitContainer

    How it started One of the major disadvantages of the old docking framework was the unintuitive layout mechanism. Operations like resize, re-dock transitions, dock position change were re-setting entire layout scene and all user-defined sizes were lost. Having recognized this drawback and knowing that a prerequisite for a good docking framework is a fine-grained layout system, we put solid efforts in designing and implementing a completely new flexible and powerful, yet simple to understand and easy to use, layout mechanism. Brief Model Overview The design...
    August 05, 2009 3 min read