Telerik blogs

Latest

  • Web ASP.NET MVC

    Using ViewModel objects to improve the Ajax performance of Telerik Grid for ASP.NET MVC

    In this blog post I will demonstrate how to squeeze the most from Telerik Grid for ASP.NET MVC when using Ajax binding. Lets start with a simple grid bound to the Northwind Orders table: View: <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<UsingDto.Models.Order>>" %><asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server"> Home Page</asp:Content><asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server"><%= Html.Telerik().Grid(Model) .Name("Grid") .Columns(columns => { columns.Add(o => o.OrderID).Width(100); columns.Add(o => o.Customer.ContactName).Width(200); ...
    November 10, 2009
  • Web ASP.NET AJAX

    How to Use Google Spellcheck with RadSpell

    Sometimes the default spellchecking algorithms in RadSpell are not providing the best possible suggestions for misspelled words. For example, the phonetic algorithm works best with English words, but is not very accurate with Russian. The edit distance algorithm is language independent, but will not recognize easy mistakes if the word spelling is not very similar to the original. Unfortunately, implementing your own custom algorithm for a specific language is not an easy task. The latest Q3 2009 release of the RadControls for ASP.NET AJAX features a new example for RadSpell, which shows how to use an existing service provided by...
    November 09, 2009
  • Web ASP.NET MVC

    Using Telerik Grid for ASP.NET MVC without any server-side code

    Since all Telerik UI components for ASP.NET MVC are actually jQuery plugins one can use them without any server-side code (or ASP.NET MVC). In this blog post I will show how to use the grid and bind it to Twitter. Here are the required steps:   Register the two CSS files to style the grid: <head> <link rel="stylesheet" type="text/css" href="telerik.common.min.css" /> <link rel="stylesheet" type="text/css" href="telerik.vista.min.css" /> </head> Then add the JavaScript files: ...
    November 09, 2009
  • Web ASP.NET MVC

    Telerik Extensions for ASP.NET MVC – Troubleshooting

    Wow it has been a busy release! I am glad that we managed to release our first home-grown UI extensions for ASP.NET MVC. I hope you like them and please, please share your feedback in the forum.   In this blog post I will highlight the most common problems you may encounter while using the extensions and their solutions. Here we go: The control renders fine but its client-side features do not work The most common reason is that there is no ScriptRegistrar or it is placed before the UI components. It is mandatory that you add a ScriptRegistrar because the UI components require it...
    November 09, 2009
  • Web

    Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness

    With our still hot Q3 2009 release we introduced a brand new RadCoverFlow control, that was rewritten from scratch in order to be able to exploit some new features in Silverlight 3 that improved both its performance and appearance. We are now using matrix projections to transform the items’ content and pixel shader effects to render the reflection. This allows us to show and properly transform any element in RadCoverFlow, including UI Elements, controls and video, as well as instantly synchronize the reflection. This major change in the control caused major changes in its API and usage patterns. We provide some...
    November 05, 2009