Telerik blogs
  • Web

    Automatic insert, update and delete with UserControl edit form for the grid

    I'm happy to announce that we've implemented support for IBindableControl for the grid and now you can edit, update and insert with minimal coding if your user control implements this interface: Also using the power of LINQ you can fill the dictionary in a single line of code. Enjoy! [Live | Download]...
    November 11, 2008
  • Web

    IE7 user agent bug

    Did you know that if your user agent string is more than 260 characters in length then your user agent string suddenly and almost magically becomes “Mozilla/4.0 (compatible; MSIE 6.0)”. I've just realized that I have exactly the same problem: Be extra careful!...
    November 07, 2008
  • Web

    Grid client-side data-binding performance with 1 mil. records

    Just before our Q3 release I've made quick test to see how the grid will perform with 1 mil. records table and here is the result: In this example the grid is bound with our new client-side declarative approach to a static page method: ... <DataBinding Location="~/Default.aspx" SelectMethod="GetData" SortParameterType="Linq"  FilterParameterType="Linq" />   ... ... [System.Web.Services.WebMethod]    public static Telerik.Web.UI.GridBindingData GetData(int startRowIndex, int maximumRows, string sortExpression, string filterExpression)    { ...
    November 05, 2008
  • Design

    Five simple steps to create your own custom skin for the grid

     All you need to create your own custom skin for RadGrid is to copy one of our existing skins and change desired CSS settings. To do this you need to perform following steps: Copy one of our existing skins (for example Gray skin) in your application. Replace all occurrences of "_Gray" with your skin name (for example "_MyCustomSkin") in the CSS file. Change urls for the images (and other desired settings) in the CSS file. Register your CSS file in the HEAD tag of your page. Set Skin="MyCustomSkin" and EnableEmbeddedSkins="false" for RadGrid.   The result: Your own custom grid look and...
    October 28, 2008
  • Release

    Introducing grid client-side editing support with Q3 2008

    With our upcoming version of RadControls for ASP.NET AJAX (early November) you will be able to bind our grid even if the grid is in edit mode. RadGrid will locate automatically all built-in column editors (GridNumericColumn, GridDropDownColumn, GridDateTimeColumn, etc.) and you can get old/new values directly from the grid client-side API. You can use client-side editing completely codeless with templates as well. The requirement here is to set ID for the control to be equal to desired data field. Example: <telerik:GridTemplateColumn HeaderText="CompanyName"> <EditItemTemplate>    <telerik:RadTextBox ID="CompanyName" runat="server" /> </EditItemTemplate> </telerik:GridTemplateColumn> We have introduced also three new client-side methods for GridTableView to get new...
    October 27, 2008