private void BindingData(int startIndex, int pageSize)
        {
            int totalCount = 0;

            ConfigRepeater.DataSource = SearchOverLimitConfigList(startIndex, pageSize, ref totalCount);
            ConfigRepeater.DataBind();
            SettingPaging(totalCount);
        }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         ConfigRepeater.DataSource = this.UnitOfWork.ConfigurationRepository.GetAll().ToList();
         ConfigRepeater.DataBind();
     }
 }
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            int    totalCount = 0;
            string tagName    = txtSearchKey.Text;

            ConfigRepeater.DataSource = SearchOverLimitConfigListByTagName(Pager.CurrentPageIndex, Pager.PageSize, tagName, ref totalCount);
            ConfigRepeater.DataBind();
            SettingPaging(totalCount);
        }