Telerik blogs

Latest

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

    How - to: Change the Default Keyboard Behavior in RadGridView for Silverlight/ WPF

    RadGridView provides a set of keyboard navigation scenarios that will result in certain consequence of commands to be executed. Thus – and naturally in this case - when clicking on the Del–button will cause deletion of the current item, Ins-button will add a new one into the grid. However, there exists a great possibility that you do not need this pre-coded behavior and you want to predefine it. In that case you can follow up one of the following two scenarios. The first one is to use the basic interface responsible for the keyboard navigation – IKeyboardCommandProvider and implement your own...