public void Populate() { LoadData(); ButtonRepeater.DataSource = buttons; ButtonRepeater.DataBind(); ButtonEditHolder.Visible = false; ButtonListHolder.Visible = true; }
// Create button links for filtering alphabetically protected void Page_PreRender(object sender, EventArgs e) { ButtonRepeater.DataSource = new string[] { stringAll }.Concat(Enumerable.Range(0, 26).Select(i => ((char)('A' + i)).ToString())); ButtonRepeater.DataBind(); }