Telerik blogs
  • 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...
    January 20, 2011 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...
    December 11, 2010 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 =...
    November 30, 2010 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...
    November 12, 2010 1 min read
  • Release

    Expression Descriptors in Q3 2010 for WPF & Silverlight

    Another four months have gone by and another awesome release of RadControls has arrived! One of the exciting new features in this release are the so-called 'Expression Descriptors'. Previously, whenever our clients wanted to filter data but needed even more control than our good old FilterDescriptor could provide, they had to subclass it and override some of its methods. Even though that approach works, it is tedious and cumbersome. And, as much as LINQ Expressions rock, having to manually generate expression trees by hand... yuck! The new FilterDescriptor<T> allows you to directly plug a predicate that determines which items are filtered. You...
    November 11, 2010 2 min read