Telerik blogs

Latest

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

    How do I do that with Telerik?

    Everyone is different when it comes to where they go to get answers to their development questions.  Many people use popular search engines like Google, while others prefer visit forums like Stack Overflow first.  Where do YOU go when you need help?  Telerik offers a plethora of options when it comes to finding an answer of how to accomplish a task.  These resources allow you to not only answer questions, but also learn more about a product and become more proficient.  I thought it might make a useful post to mention the options in case you missed one.    Forums      The...
    May 12, 2009
  • Desktop WPF

    Making a RadGauge look like a Dial

    I have had several people ask me about whether Telerik offers a dial control.  I thought it might be interesting to try and leverage the RadGauge control to build something that looks like a dial.  Essentially the RadGauge offers all the capabilities you would need, it is just a matter of styling.  I decided to build a kitchen timer application so I could create a dial theme.  I am no artist, but I think my end result turned out pretty well.  The video below will demonstrate how I use Expression Blend to quickly get a 3D (ok, 3Dish, again I...
    May 06, 2009