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


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

    }
    protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {
        if (e.Item is GridEditableItem && e.Item.IsInEditMode)
        {

        }
    }
    protected void RadRating1_Rate(object sender, EventArgs e)
    {
        RadRating rRating = (RadRating)sender;
        GridEditFormItem editFormItem = rRating.NamingContainer as GridEditFormItem;
        GridDataItem item = editFormItem.ParentItem;
        (item["TemplateColumn"].FindControl("RadRating2") as RadRating).Value = rRating.Value;

    }
    
}