public void Refresh()
        {
            LoadData();
            PartitionArchiveGridPanel.UpdateUI();

            SearchUpdatePanel.Update();
        }
        protected void LoadData()
        {
            var criteria = new PartitionArchiveSelectCriteria();

            if (String.IsNullOrEmpty(DescriptionFilter.TrimText) == false)
            {
                QueryHelper.SetGuiStringCondition(criteria.Description,
                                                  SearchHelper.TrailingWildCard(DescriptionFilter.TrimText));
            }

            if (StatusFilter.SelectedIndex > 0)
            {
                criteria.Enabled.EqualTo(StatusFilter.SelectedIndex == 1);
            }

            criteria.ServerPartitionKey.EqualTo(ServerPartition.Key);

            PartitionArchives =
                _theController.GetPartitions(criteria);
            PartitionArchiveGridPanel.RefreshCurrentPage();
        }
 internal void Reset()
 {
     //Clear();
     PartitionArchiveGridPanel.Reset();
 }