Telerik blogs
  • 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....
    May 27, 2021 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...
    May 27, 2021 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,...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    Column Animations for RadGrid for ASP.NET AJAX

    Coming with 2010.Q2 release of RadControls for ASP.NET AJAX is some eye candy for RadGrid users. In fact, never has an HTML grid been more interactive. RadGrid column animations will have your column headers fly around when you reorder columns or drag them over to the group panel. To get an idea of what column animations really are, try reordering some columns in Windows Explorer on Windows 7: What you get is a nice animation where headers move aside to make room for the dragged header. The idea is the same with RadGrid too. You drag one header to reorder the columns and the rest of the headers move...
    May 27, 2021 2 min read
  • Desktop WPF

    Breadcrumb hierarchy navigation for RadGridView

    For my first blog post I’m going to present a little pet project inspired by requests from some of our customers. And so, without further ado: The Breadcrumb is a simple control that analyzes the type of the collection found in the RadGridView’s ItemsSource property and automatically resolves data hierarchies. Usage is pretty straight-forward. Place the control anywhere you like and then connect it to the RadGridView, all in XAML. Example: <bread:Breadcrumb Grid.Row="0" Margin="5" SourceGridView="{Binding ElementName=radGrid}"/> The logic behind the type analysis algorithm is simple: represent every collection as a generic IEnumerable<> and get the type of the generic argument. So if you have an array of...
    May 27, 2021 2 min read