Telerik blogs

Latest

  • Desktop WinForms

    Using RadComboBox for WinForms with LINQ

    LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. It extends C# and Visual Basic with native language syntax for queries and provides class libraries to take advantage of these capabilities. LINQ is great in improving the readability and maintainability of your code.   Our controls work flawlessly with LINQ and we plan to prepare a series of blog posts on utilizing LINQ when programming with RadControls for WinForms. Following last year’s Emulating Paging with RadGridView for WinForms and LINQ with 1 million records, now it is time to give you a quick overview...
    May 27, 2009
  • Desktop WinForms

    Quick Overview of RadCarousel For WinForms

    I put together a quick introduction to the RadCarousel for WinForms control and how you can get started working with it.  I have shown this control to a number of people during conferences and they always think it is a WPF control instead of WinForms.  It is really easy to get things going and simple to work with.  I hope you will take a look at the...
    May 18, 2009
  • Desktop WinForms

    Picking and Choosing Columns with RadGridView for WinForms

    Have you ever run into a situation where you needed to allow a user to select which columns they want to see in a grid?  If you are using the RadGridView for WinForms you don’t have to lift a finger to implement this functionality.  The Column Chooser is available for the RadGridView out of the box.  Simply bind your data and you are ready to go.  You can access the Column Chooser by right clicking on any column and selecting Column Chooser from the context menu.  The Column Chooser is displayed as a floating window next to the application.  You can now drag...
    May 15, 2009
  • Desktop WinForms

    Computing Values in the RadGridView for WinForms

    When working with data there are a number of occasions where you may want to calculate a value for display within a grid.  Did you know you can do this within the RadGridView itself?  It is really quite simple.  To compute a column within the RadGridView you need to set the Expression property of the destination column.  This may be a new column that you are adding to the grid to store the value or you can override the value of an existing column by setting the Expression property.  Below is an example of the syntax to calculate an average across all...
  • Desktop WPF

    Half and quarter circle RadGauge.

    Recently John showed how to create half-circle gauges and now I am glad to announce that RadGauge, both WPF and Silverlight, supports half-circle and quarter-circle styles out of the box. All you need to do is provide the correct resource through a ResourceDictionary and then use the corresponding style. The styles are named after the major geographical directions -- North, East, South and West, well we only use the first letters here - N, E, S and W. So the styles you need are <Theme>RadialGaugeHalfCircle<Direction>Style and <Theme>RadialScaleHalfCircle<Direction>Style. Check the following example - semi-circular, south-directed vista-styled gauge: And this is the XAML used:        ...
    May 12, 2009