private void InitializeMainGrid()
        {
            GetMyAccessRights();

            User user = new User();
            if (myAccessRights.CanAdd == true)
            {
                if (dropDownListDepartment.SelectedItem.Text == "All" && user.GetActiveUsersWithoutSupervisor().Count > 0)
                {
                    linkBtnAdd.Visible = true;
                }
                else if (user.GetActiveUsersWithoutSupervisor(Convert.ToInt32(dropDownListDepartment.SelectedItem.Value)).Count > 0)
                {
                    linkBtnAdd.Visible = true;
                }
                else
                    linkBtnAdd.Visible = false;
            }
            else
                linkBtnAdd.Visible = false;

            List<User> userlist = new List<User>();
            if (dropDownListDepartment.SelectedItem.Text == "All")
            {
                userlist = user.GetActiveUsersWithSupervisor();
            }
            else
            {
                userlist = user.GetActiveUsersWithSupervisor(Convert.ToInt32(dropDownListDepartment.SelectedItem.Value));
            }

            gridViewUser.DataSource = userlist;
            gridViewUser.DataBind();
        }