Telerik blogs

    Resolving circular references when binding the MVC Grid

    Sometimes when performing ajax databinding with the MVC grid you may end up with unexpected result: server error 500. What is even stranger is that server-side binding works as expected with the same data binding code. Let’s demystify this problem: The problem You will see the following  if you use FireBug or Fiddler to inspect the response: The error message is “A circular reference was detected while serializing an object of type” followed by some type. If you google this up you will find out that this exception is thrown by the JavaScriptSerializer class because of circular references detected. “What the heck is a...
    January 25, 2010
  • Release

    Service Pack 2 for Telerik Extensions for ASP.NET MVC released

    We have just release the second service pack for Telerik Extensions for ASP.NET MVC. You can download the open source version from here. Registered users can download it from their accounts. You can check the release the notes here. What’s new The most notable change is that we upgraded to jquery 1.4. The benefits from using the latest jquery installment are quite a lot – performance improvements, lots of new features etc. We also hosted jQuery on Telerik CDN. However this upgrade comes at a price. Be warned that this change will break your existing web site if you are using jquery-1.3.2 and...
    January 20, 2010
  • Release

    New release of Telerik Extensions for ASP.NET MVC - now with CDN support

      With the release of RadControls for ASP.NET Ajax Q3 2009 SP1 we introduced built-in CDN support. It was very logical that Telerik Extensions for ASP.NET MVC receive some CDN love as well. Now this is a fact! Go download the current release from here (open source) or here (licensed).   Enabling global CDN support from web.config Add the following XML in your web.config: <configSections> <sectionGroup name="telerik"> <section name="webAssets" type="Telerik.Web.Mvc.Configuration.WebAssetConfigurationSection, Telerik.Web.Mvc"/> </sectionGroup></configSections><telerik> <webAssets useTelerikContentDeliveryNetwork="true" /></telerik>
    December 23, 2009

    Using Telerik Extensions for ASP.NET MVC within an ASP.NET WebForms application

    If you really, really like the new and shiny extensions, you can use them in your WebForms application, too! Here are the needed steps: Add references to the following assemblies: System.Web.Abstractions System.Web.Routing System.Web.Mvc Telerik.Web.Mvc The first three are usually in the GAC. Copy the Content and Scripts folders from the extensions’ distribution into your project. The pages which will contain the MVC components will need to inherit System.Web.Mvc.ViewPage. Also, you should mock an MVC environment, like this: protected class ControllerMock : Controller { public ControllerMock(NameValueCollection queryString) { foreach (string param in queryString.Keys) ...
    December 18, 2009

    Telerik Extensions for ASP.NET MVC now support ASP.NET MVC2 RC

    As many of you know yesterday ASP.NET MVC 2 RC was released. We did our best to make Telerik Extensions for ASP.NET MVC compatible with that release and I am glad to announce that you can now download the updated bits from here (open source) or here (licensed). Changes There are a few things that changed: We are now producing two dll files – one for ASP.NET MVC 1 and one for ASP.NET MVC 2. The files differ only in their version: For ASP.NET MVC 1 applications you should use Binaries\Mvc1\Telerik.Web.Mvc.dll. Its assembly version ends with 135 (which means MVC v1 .NET...
    December 18, 2009