Exemple #1
0
    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;
        }
    }
Exemple #2
0
    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);
    }
Exemple #3
0
    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);
    }