protected void Store1_OnRefreshData(object sender, StoreRefreshDataEventArgs e)
        {
            SystemRoleWrapper             systemRoleWrapper = SystemRoleWrapper.FindById(RoleID);
            List <SystemPrivilegeWrapper> list1             = SystemPrivilegeWrapper.FindAll();
            List <string> list2 = SystemRoleWrapper.GetRoleAssignedPermissions(systemRoleWrapper);
            List <SystemPrivilegeWrapper> list3 = list1.FindAll(p => !list2.Contains(p.PrivilegeID.ToString()));

            Store1.DataSource = list3;
            Store1.DataBind();
        }
        private void InitStore1()
        {
            SystemRoleWrapper             systemRoleWrapper = SystemRoleWrapper.FindById(RoleID);
            List <SystemPrivilegeWrapper> list1             = SystemPrivilegeWrapper.FindAll();
            List <string> list2 = SystemRoleWrapper.GetRoleAssignedPermissions(systemRoleWrapper);
            List <SystemPrivilegeWrapper> list3 = list1.FindAll(p => !list2.Contains(p.PrivilegeID.ToString()));

            Store1.DataSource = list3;
            Store1.DataBind();
        }