protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack && !GridWeb1.IsPostBack) { InitData(); // Set sheets selectedIndex to 0 GridWeb1.ActiveSheetIndex = 0; } } private void InitData()