Telerik blogs

Latest

For the latest product updates, please visit Release.

  • 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
  • Web ASP.NET MVC ASP.NET AJAX

    How To: Telerik RadGrid for ASP.NET AJAX with ASP.NET MVC

    I've made small example how to use RadGrid for ASP.NET AJAX in Microsoft ASP.NET MVC:   The key here is to inherit from RadGrid and call explicitly desired grid commands. Let's say you want to edit particular record: 1) Create a template column and add this to the ItemTemplate: <%# Html.ActionLink("Edit", "RadGridCommand", new { ControlID = MyGrid1.ID, CommandName = "Edit", CommandArgument = Container.ItemIndexHierarchical }) %>   2) Now handle this in your controller: public ActionResult RadGridCommand(string ControlID, string CommandName, string CommandArgument) {     ViewData["ControlID"] = ControlID;     ViewData["CommandName"]= CommandName;     ViewData["CommandArgument"] = CommandArgument;     return View("Index"); }   3) Override OnPreRender in inherited class and call explicitly the grid...
    September 30, 2008
  • Web ASP.NET MVC

    RadChart in ASP.NET MVC

    I just came upon this awesome blog post by Andreas who has managed to create an action for rendering an image. I'm blogging here to give more of you guys a heads up on his post. If you are into the whole MVC thing and want to use RadChart you should definitely check this out....
  • Web ASP.NET MVC

    Catching up with ASP.NET MVC

    I wouldn't normally consider myself an early adopter. In fact, I prefer the 'tried and true' to the 'hip and new', especially when it comes to software development. However, that doesn't mean I should keep my head in the sand. While I might not always live on the bleeding edge of .NET development, I should definitely be aware of what's going on there. With that goal in mind, I'm going to dedicate a series of posts specifically to looking at the new ASP.NET MVC framework. ASP.NET MVC was introduced last October at the ALT.NET conference and Preview 3 is readily available...
    July 06, 2008