• .NET Desktop

    Installing and Using the RadRibbonForm template

    If you are planning to use the RadRibbonBar and want to get started quickly, then you might consider using the RadRibbonForm template in VIsual Studio.  While you can use a standard form the RadRibbonForm allows you to use the RadRibbonBar and have it extend into the Title bar, just like Microsoft Office.  You will first need to install the template so it is available to you in Visual Studio.  To get started, navigate to the C:\Program Files\Telerik\RadControls for WinForms [version]\Templates.  If you are using CSharp open the CSharp directory, there are Visual Basic versions as well, in appropriately named folders,...
    April 07, 2009
  • .NET Desktop

    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 03, 2009
  • .NET Desktop

    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
  • .NET Desktop

    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 29, 2009
  • .NET Desktop

    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 27, 2009