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 RadGridSelectionCellToggle : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    protected void Image1_Load(object sender, EventArgs e)
    {
        Image image = sender as Image;
        GridDataItem dataItem = image.NamingContainer as GridDataItem;

        image.Style["display"] = dataItem.Selected ? "" : "none";
    }
}