using System;

using Telerik.Web.UI;
using System.Linq;
using System.Collections.Generic;

public partial class Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
        (sender as RadGrid).DataSource = new List<string>();
        (sender as RadGrid).DataSource = Enumerable.Range(1, 20).Select(i => new
        {
            col0 = i,
            col1 = i,
            col2 = i,
            col3 = i,
            col4 = i,
            col5 = i,
            col6 = i,
            col7 = i,
            col8 = i,
            col9 = i
        });
    }
}
