Exemple #1
0
        public void SetBtnDeleteVisible(bool bVisible)
        {
            Toolbar tbToolBar = Page.Grid.Toolbars[0];

            tbToolBar.FindControl("btnDelete").Visible = bVisible;
        }
Exemple #2
0
        public void SetBtnEditVisible(bool bVisible)
        {
            Toolbar tbToolBar = Grid1.Toolbars[0];

            tbToolBar.FindControl("btnEdit").Visible = bVisible;
        }