Telerik blogs

Latest

  • Desktop WinForms

    Cascading ComboBoxes Selection in RadGridView for Silverlight and WPF

      A common scenario when entering data is a cascade of comboboxes, where the list in the next combo is populated after selecting a value in the previous. A typical example is selecting a country from a combo then selecting from a filtered list of cities in a second combo. We have had tons of questions on how this can be done within a row in RadGridVIew so I decided to make a small demo. I have used a nice List of countries by continent.           There are lots of ways to achieve this with RadGridView. Bellow I have tried to demonstrate...
    January 27, 2010
  • Desktop WinForms

    Sales Dashboard Application for Windows Forms

    Shortly after the Q3 2009 release we developed the Sales Dashboard Application for Windows Forms - a composite business application for visualizing a company’s sales force performance. It is built with the Q3 2009 versions of Telerik’s WinForms components, RadChart for WPF, Telerik OpenAccess ORM, and implements the Telerik CAB Enabling Kit for WinForms, which helps in the development of smart-client line-of-business (LOB) applications. Since the interest in this application is still high, we felt the need to have a dedicated place to discuss this application. In case you have not played with it yet, download the source code, and enjoy!   Also check: Silverlight/WPF Sales...
    January 26, 2010
  • Desktop WPF

    Filtering GridViewComboBoxColumn in RadGridView for WPF

      GridViewComboBox column is used to display lookup data in user friendly manner. For our demo we bind RadGridView for WPF to a collection of custom Location objects.       As you may notice – each location has a selectable Country field.  Here is the underlying ‘data model’.   public class Location { public int CountryID { get; set; } public string CityName { get; set; } } public class Country { public int ID { get; set; } public string Name { get; set; } }   The location object contains the integer CountryID.Each CountryID corresponds to a certain country and with the help of GridViewComboBoxColumn we see some human readable country names instead of the...
    January 20, 2010
  • Desktop WinForms

    Formatting Cell Values in the RadGridView for WinForms

    Earlier this week while working on another blog entry, I ran into a unique situation involving the RadGridView. Basically, what I am doing is retrieving user status data from Facebook using the Facebook Developer Toolkit. The data is returned in a list of objects based on the Facebook API schema. These objects are of type user_status and contain the following: uuid - long status_id - long time - long source - string message - string comment_count - int I basically wanted to take this list and bind it to the RadGridView showing only the message and the time for that message. This was pretty ...
    January 15, 2010
  • Desktop WPF

    Using Compass indicators properties for Telerik's Docking Control for Silverlight and WPF

    Sometimes when using a Docking control and implementing complex UI with it we need to add some custom rules about allowing some panes to be docked in some parts of the application and to disallow them to dock to other parts. As this behavior is quite complex itself, we’ve decided to enable some scenarios to be available in XAML in a declarative way (the more static scenarios) and some scenarios to be available only through the code-behind.   In this post I will guide you through some simple steps that will show you how you could use both approaches. First of all...
    December 29, 2009