Telerik blogs
  • 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...
    July 28, 2010 3 min read
  • 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....
    July 26, 2010 3 min read
  • 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....
    July 12, 2010 1 min read
  • Release

    Introducing Cell Copy & Paste in RadGridView for WPF+Silverlight

    Our upcoming 2010 Q2 version packs a lot of goodies. One of them is the totally revamped Clipboard support in RadGridView for WPF and Silverlight. Made possible by cell selection which will also be introduced in Q2, the new and improved Clipboard capability is both robust, easy to use and very extensible. By default, users can both copy and paste cells. However, the RadGridView has two additional properties - ClipboardCopyMode and ClipboardPasteMode, which provide thorough control over Clipboard operations. You will be able to choose whether users can copy cells, column headers and/or column footers, or control how pasting works - skip...
    July 05, 2010 2 min read
  • Web ASP.NET AJAX

    RadGrid for ASP.NET AJAX SEO Paging with Routing in ASP.NET 4.0

    URL Routing with ASP.NET 4.0 has never been easier. While it was first a luxury of ASP.NET MVC, WebForms applications got routing support with .NET 3.5 SP1. With version 4.0 of the framework, setting up URL routing is now a piece of cake. For those of you who have never heard of it: URL Routing enables your application to use URLs that do not directly map to physical files, but can instead represent a user-friendlier, more descriptive, logical structure. It is not URL rewriting and not URL mapping, where these effectively restore the original physical URL of the page down the request pipe. With version 2010.Q2 of Telerik RadControls for ASP.NET AJAX,...
    June 23, 2010 2 min read