Telerik blogs
  • Desktop WinForms

    Changing the Backcolor for the RadMenu for WinForms

    Recently a question regarding how to change the BackColor of the RadMenu for WinForms.  I thought it might be easier to outline this process with screenshots so I put together a quick post to answer the question. After creating a new WinForms application project, I added a RadMenu.  The screenshot below shows that the default color of the menu is blue. The quickest way to accomplish this task is to click on the SmartTag in the DesignView.  Then select the Edit UI Element menu option. This will open a new window which is called the Element hierarchy editor. Within the Element hierarchy editor, select the...
    April 04, 2009
  • Desktop WinForms

    Using RadGauge for WPF in a WinForms application

    In this post, I want to demonstrate the use of the RadGauge for WPF control inside a Windows Forms Application.  Just because you are not developing WPF applications every day does not mean you cannot benefit from what WPF has to offer.  I thought it would be useful to point out that you can use WPF User Controls inside of Windows Forms applications with minimal effort.  This is made possible through the Systems.Windows.Forms.Integration namespace.  More specifically you will be working with a control call "ElementHost" which allows the WPF control to be used in a Windows Form.    So lets get...
    February 27, 2009
  • Desktop WinForms

    Quickly Formatting Data with the RadGridView for WinForms

    Most developers have encountered a need at some point to modify how data is displayed to the user.  The RadGridView offers a very straightforward way to format data without having to modify the source data.  For example, you may not want the time displayed with a DateTime field, or you want to change the structure of the data to meet an internal standard.  The screenshot below shows three different fields which display the default DateTime format. This may be valid data, but it may not be useful to the user and we could potentially save screen real estate by eliminating...
    January 30, 2009
  • Productivity Document Processing

    Exporting data to Excel using the RadGridView for WinForms

         There usually comes a time for most developers when they need to use the data being displayed in an application, outside of that application.  There are obviously a number of ways you can present data, but it is common to leverage Microsoft Excel.  It provides a similar look and feel to the grid which means minimal reformatting, plus Excel is widely used and therefore most offices should have a version of the software available.       How to get your data into Excel?  The RadGridView offers a couple of options to accomplish this task.  First, you can use the Primary...
    January 28, 2009
  • Release

    RadControls for WinForms SP2 Now Available

    Today Telerik released the second service pack for the Q3 2008 RadControls for WinForms. It's been about a month and a half since SP1, and in that time a lot of great fixes and improvements have been added to the controls. The release notes, as always, have the full list of what's changed in this release, but here are a couple of enhancements of interest.  RadGridView Introduced an API for customizing XML Serialization Enhancements to the Validation API Improvement of the memory footprint and resource management RadDockingManager Improved layout with Tabbed Documents New property AutoHideSize which can be applicated to DockPanels and TabbedDocuments While...
    January 21, 2009