Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Web ASP.NET MVC

    MVC design template

    We have just uploaded a contribution to Microsoft’s MVC design contest – a web-design template free for all to use with the MVC framework. Our entry is a clean, simple, blue-themed web-design generic enough to fit a broad range of scenarios. Please feel free to download and jumpstart your next project. We thought the contest was a great way to further support our clients in their switch to the MVC. Our RadControls for ASP.NET AJAX already boasts full support for the MVC (see live demo, join our forums), so we thought providing an out-of-the-box design solution is a logical next step. Initiatives like this...
    February 11, 2009
  • Web ASP.NET MVC ASP.NET AJAX

    ASP.NET Ajax Controls in ASP.NET MVC

    The Q3 2008 release is now out and I am glad to inform you that RadScriptManager provides support for ASP.NET MVC view and master pages. What this means is that RadControls for ASP.NET Ajax can be used in ASP.NET MVC. We have tested with the ASP.NET MVC Beta 1 release. .csharpcode { overflow:auto; } .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: Consolas, "Courier New", Courier, Monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; } Using RadControls for ASP.NET Ajax in ASP.NET MVC View Pages 1. Add an instance of RadScriptManager to your view page (or master page). Make sure the required HTTP handlers are properly registered (can be done from the smart tag in design time). 2. Add a control to your view page or master page. The following...
    November 06, 2008
  • Web ASP.NET MVC

    The Grid in Microsoft ASP.NET MVC Beta

    As you know this week Microsoft released ASP.NET MVC Beta and I've updated my last grid example to the latest ASP.NET MVC version. I needed to change only two things: - Ajax.Form changed to Ajax.BeginForm/Ajax.EndForm - Html.SubmitButton changed to plain <input type="submit" /> and everything worked instantly! [Live | Download]...
    October 17, 2008
  • Web ASP.NET MVC

    Using Telerik RadGrid in ASP.NET MVC together with RenderPartial, Ajax.Form, Ajax.ActionLink and UpdateModel

    I've made yet another ASP.NET MVC example with RadGrid for ASP.NET AJAX however instead of Html.Form and Html.ActionLink I have used Ajax.Form and Ajax.ActionLink: As a result now you have an ajax enabled grid with paging, sorting, select, edit, update, delete and insert: [Download]...
    October 07, 2008
  • Web ASP.NET MVC

    Telerik RadControls in Microsoft ASP.NET MVC

    To continue with my previous blog post about RadGrid for ASP.NET AJAX in Microsoft ASP.NET MVC, I've made another example how to use RadControls for ASP.NET AJAX as pure client-side components in this environment. The biggest challenge here is the ScriptManager and scripts registration in general. By default the creation of client-side components is so tightly coupled with the ajax functionality (PageRequestManager) that the only way to enable this is to inherit from ScriptManager (or RadScriptManager) and build everything manually: protected override void Render(HtmlTextWriter writer) {      foreach (RegisteredScript script in GetRegisteredClientScriptBlocks())      {          if (Page.Items[script.Key] == null)          {              Page.Items[script.Key] =...
    October 02, 2008