• .NET Mobile

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

    November 12, 2010 Share
    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...
  • .NET Mobile

    Official Q3 2010 Telerik AJAX and MVC bits

    November 10, 2010 Share
    Once again, all Telerik Developer Productivity divisions joined their efforts to deliver yet another major release spanned across the entire Telerik portfolio (which got expanded with one more product line - our Windows Phone 7 controls suite). Mobilizing and keeping in sync 10+ Telerik product lines to supply builds on a specified date involves tremendous energy and discipline, still we succeeded to do that on time as these enthusiasts did back in year 2006:     The news are already transmitted over the air and will soon reach every distant location on the globe - feel free to share our happiness! You can...
  • .NET Mobile

    Telerik MVC Extensions Q3 2010 Beta Preview

    October 27, 2010 Share
    We are pleased to proclaim the immediate availability of the Q3 2010 BETA release of Telerik Extensions for ASP.NET MVC. Our MVC suite grows with two new extensions: TimePicker DateTimePicker We also added several major features for the MVC Grid - toolbar template, column header and footer templates and column reordering, and improved its binding mechanism. All this comes together with ASP.NET MVC 3 Beta support, added/improved RTL support and enhanced accessibility for all Telerik MVC Extensions. Check our ONLINE DEMOS and RELEASE NOTES The downloads are now available in your account (in case you have a license for Telerik Premium Collection or Telerik Extensions...
  • .NET Mobile

    Using nested complex objects with ASP.NET MVC editor templates

    September 30, 2010 Share
    This may be common knowledge but I failed to quickly find the relevant info when it hit me. In short the default editor template generated by ASP.NET MVC 2 ignores any nested complex properties of your model. Here is a short example which demonstrates the case:   Model: public class Customer{ public int ID { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Address Address { get; set; }} public class Address{ public string Street { get; set; } public string City { get; set; }} Controller: public class HomeController : Controller{ // // GET: /Home/ public ActionResult Index() { return View(new Customer { ...
  • .NET Mobile

    Output Caching and Telerik Extensions for MVC

    September 15, 2010 Share
    When we pushed out Telerik TV, we ran into an interesting style issue.  We were using output caching on our index page to save the server a little work.  However, sometimes when a user navigated to tv.telerik.com/home it would look like this: This problem would only manifest itself on the production server, and shockingly there were no errors! By looking at the source of the page we quickly realized that neither the StyleSheetRegistrar, nor the ScriptRegistrar were outputting anything at all.  This made it clear that the Render method on the StyleSheetRegistrar / ScriptRegistrar was not firing, or something was causing them...