protected void rtabEntry_TabClick(object sender, Telerik.Web.UI.RadTabStripEventArgs e) { Telerik.Web.UI.RadTab TabClicked = e.Tab; string tabvalue = TabClicked.Value; ViewState["TabFilterValue"] = tabvalue; ViewState["AdvanceSearch"] = ""; lblError.Text = ""; BindGrid(true); // Display the reminder buttons conditionally btnAddRound.Visible = false; btnSendEmail.Visible = false; switch (tabvalue) { case "All": btnAddRound.Visible = true; btnSendEmail.Visible = true; break; case "Deleted": btnAddRound.Visible = false; btnSendEmail.Visible = false; break; case "Current": btnAddRound.Visible = false; btnSendEmail.Visible = false; break; } }
protected void rtabEntry_TabClick(object sender, Telerik.Web.UI.RadTabStripEventArgs e) { Telerik.Web.UI.RadTab TabClicked = e.Tab; string tabvalue = TabClicked.Value; ViewState["TabFilterValue"] = tabvalue; ViewState["AdvanceSearch"] = ""; BindGrid(true); }
protected void rtabUser_TabClick(object sender, Telerik.Web.UI.RadTabStripEventArgs e) { Telerik.Web.UI.RadTab TabClicked = e.Tab; string tabvalue = TabClicked.Value; radGridUser.MasterTableView.SortExpressions.Clear(); ViewState["TabFilterValue"] = tabvalue; ViewState["AdvanceSearch"] = ""; BindGrid(true); }