• .NET

    RadPageView for WinForms: What Inside?

    The brand new RadPageView control is aiming high to provide a full replacement for the currently existing RadTabStrip and RadPanelBar controls by shipping the same functionality with a simpler approach and improved performance. This new control addresses many issues present in the old components, and is based on a very flexible and extensible platform that is fully compatible with the Telerik Presentation Framework, and allows for implementing different layout scenarios as quick as never before. The architecture of this control is pretty simple. It consists of pages and items where each item is associated with a page and it can be used to display...
  • .NET

    Styling Cells in RadGridView for WinForms

    In RadGridView you have to handle the CellFormatting event when you want to customize the look and feel of grid cells. This is so because RadGridView uses UI virtualization. It creates elements only for cells that are currently visible - when scrolling they are reused. Of course, it will be much easier if we could access the cell directly and set its visual properties without an event. In our next release (Q2 2010) this will be possible. By using the Style property you can set the desired background color or change the font size. Here is a sample: this.radGridView1.Rows[5].Cells["Name"].Style.BackColor = Color.Red; this.radGridView1.Rows[5].Cells["Name"].Style.Font = new Font(SystemFonts.DialogFont, FontStyle.Italic);   All...
  • .NET

    Flexible data conversion with RadGridView for WinForms vNEXT

    One of the new features that will come with the next version of RadGridView is the new data conversion layer. In our daily work we have often got into troubles in visualizing and formatting concrete types as other types. Sometimes the data source is not compatible with the bind target. Hence, you need to create a facade that converts the data to desired type. Let’s say that you bind the grid to a source that is incompatible with the columns that you want to show, for example a GridViewCheckBoxColumn for char field instead of GridViewTextBoxColumn. How can you accomplish that? The new version of RadGridView will...
  • .NET

    RadGridView for WinForms vNEXT is coming

    The new version of RadGridView is coming in May (as beta) and I am eager to show you some of the new features. There are many methods to indicate errors in RadGridView. However, until now it didn’t support the most natural and easy way for this - the IDataErrorInfo interface. Things have changed, so let me show you how to use this interface.   As MSDN says,“IDataErrorInfo provides the functionality to offer custom error information that a user interface can bind to.” Actually, you don't need to know anything about this interface. You can just set the ErrorText property of the desired row or cell: this.radGridView1.Rows[5].ErrorText = "There...
  • .NET

    Q2 2010 WinForms roadmap published

    Now that Q1 2010 SP1 has been released, it is time to turn our attention to the Q2 2010 release, which promises to be yet another major milestone for RadControls for WinForms. Here is a trimmed down list of what to expect: RadGridView gets a new major version with numerous improvements and new features. A beta version is expected in mid May; In addition to the several vital improvements in performance and user experience, RadScheduler will deliver appointment reminders; RadListBox and RadComboBox will receive major updates in terms of UI, user experience, performance, and data handling. For further details visit the RadControls for WinForms Q2...