Telerik blogs

Latest

  • Desktop WinForms

    Explained: RadGridView for WinForms virtualization and its implications. The case with CellElement and RowElement

    As the Logical vs. Visual Grid Structure help article states, RadGridView for WinForms uses virtualization for its cells/rows and as of Q2 2010 there is column virtualization as well. What is virtualization? To put it simply, when you bind RadGridView to a DataTable with 1000 rows, you get 1000 data row objects created in RadGridView (of type GridViewDataRowInfo). However, not all data row objects can be visible at the same time in the RadGridView estate in your application. This is why only the visual rows that can be shown in the estate get created (these visual rows are of type GridDataRowElement), or about...
  • Desktop WinForms

    New goodies in RadGridView for WinForms: Drag and drop with RadGridViewDragDropService

    One of the new goodies that came with RadGridView Q2 2010 is the brand new drag and drop API, which offers a very flexible way to create custom drag and drop scenarios with ease. Each instance of RadGridView is associated with RadGridViewDragDropService that handles user drag and drop operations. It gives you out-of-the-box reordering of columns and movement of items between the group panel and the columns header. The service is also responsible for rows reordering in unbound mode when grouping and sorting features are not applied. In many cases, developers need to implement complex custom scenarios that are not covered by our products by default....
  • Desktop WPF

    Evaluated (Calculated) Column for WPF/Silverlight RadGridView with IronPython

    The Dynamic Language Runtime (more info here) is a great way to spice up those boring old CLR applications. Not only has the DLR helped bring the dynamic keyword to C# 4, but it helps Python and Ruby live on top of .NET. Using the DLR and IronPython, it's relatively easy to craft a calculated column, giving you the power to execute IronPython expressions over your data objects. What's more, you can import Python modules such as math, datetime, etc. You can download the source code for this example here. The exact same code can be used for both Silverlight and WPF....
  • Desktop WinForms

    Export Beyond Excel with RadGridView for WinForms

    The RadControls for WinForms Q2 2010 beta release has been live for a couple of weeks now, and we have been getting excellent feedback on the fancy new features. Along with several brand new components (RadListControl, RadPageView and RadDesktopAlert to name a few), we have introduced a completely redesigned grid, along with numerous new features and possibilities. Up until now we have supported Export to Excel capabilities in RadGridView, and not much more. Although ExportToExcelML offers some cool and unique features, exporting only to Excel was not enough for our clients. Our integration with Telerik Reporting could not suit all of our client's requirements either. Now,...
  • Desktop WPF

    How to: Validate data with SL/WPF RadGridView Part II – asynchronous validation on item/row level via RIA services and INotifyDataErrorInfo interface

    In my previous post I’ve tried to explain RadGridView validation mechanism and support for 2 layers of validation (UI and Data) for a property/cell level. RadGridView exposes same events on a row level too (RowValidating, RowValidated and RowEditEnded). Since this theory you can find on our online help I’ll begin with the interesting stuff - asynchronous validation example.   I’m glad to announce that with the next (2010.Q2) version RadGridView will support asynchronous validation. By asynchronous validation I mean that RadGridView can save a value in its collection and from somewhere (server side usually) to receive a message that this value doesn’t pass some...