Telerik blogs
  • Desktop WinForms

    (Re)Mixed Hierarchy Mode in RadGridView for WinForms

    In addition to the fact that our next release focuses mostly on our accessibility and automated testing as described in this blog post, in our upcoming version we will include many bug fixes in all RadControls for WinForms, including a highly optimized version of RadTreeView. In this article however, we want to present a new interesting feature in RadGridView that you will surely find useful. A customer of ours requested a mixed hierarchy mode where he wanted to use a self-reference hierarchy AND the classic hierarchy mode together. The scenario that he described used a file explorer where the main level...
    May 27, 2021 2 min read
  • Web ASP.NET MVC

    MVC3 and unobtrusive validation support with Grid for ASP.NET MVC

    As you may know, we just released our ASP.NET MVC extensions latest service pack. Beside the regular dose of fixes, this service release incorporates even better support of the official version of MVC3. One of those new MVC3 feature, which I want to bring to your attention, is the unobtrusive validation.   We all know how client validation from the previous version of MVC has worked; outputting a mass of JSON serialized validation rules. Although, this approach is still available, the newer one is far more pleasing. Enabled by default in the VS2010’s MVC3 project template, validation rules will be attached...
    May 27, 2021 1 min read
  • Desktop WPF

    OData support in RadGridView for Silverlight and WPF: The Netflix Catalog

    The Open Data Protocol – the other Microsoft data access strategy along with WCF RIA Services, did not gain as much as popularity as its RIA cousin (yet!). But here in Telerik we want to give you as much freedom and power as possible and this means making it extremely easy for our clients to access and manipulate their data in applications built with our components. Our RadDomainDataSource is coming soon, but is only one piece in the puzzle of enhanced data support in our controls – starting with RadControls for Silverlight and RadControls for WPF Q3 2010 it’s as simple as pie...
    May 27, 2021 1 min read
  • Productivity

    Using GridView's Object-Relational Hierarchy with Telerik Open Access ORM

    In our previous blog post we showed how to use the new RadGridView Object-Relational Hierarchy with the Entity Framework. The same scenario can be easily implemented with Telerik OpenAccess ORM. The OpenAccess wizard for adding a new DomainModel will help us build the model of the well-known Northwind database in a few easy steps: Once this is done, the auto-generation of the hierarchy is very simple and needs just a few lines of code. We only need the LINQ query to the root object used for a DataSource (in our case “Suppliers”) and then setting AutoGenerateHierarchy to true: NorthwindEntities entities = new NorthwindEntities(); var query =...
    May 27, 2021 2 min read
  • Web ASP.NET MVC

    Binding to a collection of dynamic objects with Grid Extension for ASP.NET MVC

    Great news everybody! With its latest version and the addition of MVC3 specific build, you can now bind the MVC Grid to a collection of dynamic objects quite easily. Note that we will be using the new Razor view engine for extra fun. Just declare the View’s model to be IEnumerable<dynamic> 1: @using Telerik.Web.Mvc.UI 2: @model IEnumerable<dynamic> 3: @( 4: Html.Telerik().Grid(Model) 5: .Name("Grid") 6: .Columns(columns...
    May 27, 2021 1 min read