Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Web ASP.NET MVC

    Using nested complex objects with ASP.NET MVC editor templates

    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 { ...
    May 27, 2021 3 min read
  • Web ASP.NET MVC

    Output Caching and Telerik Extensions for MVC

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

    Shipped Telerik Extensions for ASP.NET MVC Q2 2010 Beta

    We just shipped the beta of the Q2 2010 release. Download instructions for the beta can be found in the announcement forum thread. Why a beta when other Telerik products had their betas a month ago? We decided to postpone the official release of Telerik Extensions for ASP.NET MVC so we can deliver … three five new components! The official release would ship later this summer. New Components Telerik Editor for ASP.NET MVC In its first release the editor will contain only the most necessary text editing tools. We aim to keep it small thus more complex tools (image manager, table wizard etc)...
    May 27, 2021 2 min read
  • Web ASP.NET MVC

    Hands on mocking of ASPNETMVC controller action

    In this post, I will start with an MVC sample created from the default template project that is bundled with ASPNET MVC2 installation. This template provides not just a dummy project with folder organized but rather a full running app.
    May 27, 2021 3 min read
  • Web ASP.NET MVC

    Building Real Applications with Telerik MVC & OpenAccess – Building the DAL

    In this blog post we will create a simple data access layer that allows our UI to interact with our data.
    May 27, 2021 3 min read