using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Telerik.Web.UI;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Data.Common;
using System.ComponentModel;
using System.IO;
using System.Xml;

public partial class _Default : System.Web.UI.Page
{
   


    protected void Button1_Click(object sender, EventArgs e)
    {
        RadGrid1.MasterTableView.GroupsDefaultExpanded = true;
        RadGrid1.MasterTableView.Rebind();
        RadGrid1.MasterTableView.ExportToExcel();
    }
}



