Telerik blogs

Latest

  • 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
  • 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
  • Desktop WPF

    WPF / Silverlight: RadChart with ChartLegend as a ToolTip

    Every now and then we receive requests / inquiries which wordings may vary, but basically all come down to the same thing – my chart space is limited, how to optimize the content of the ChartArea so my data does not look so squashed? One possible solution that works in some scenarios is to hide the legend altogether. Today we will propose another option for those of you who are looking for a less “radical” remedy – display the ChartLegend as a ToolTip on demand. Actually, this is quite easy to achieve with the ToolTipService class provided by WPF /...
    August 20, 2009
  • 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...
  • 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