Example #1
0
        public void Populate()
        {
            LoadData();

            ButtonRepeater.DataSource = buttons;
            ButtonRepeater.DataBind();

            ButtonEditHolder.Visible = false;
            ButtonListHolder.Visible = true;
        }
Example #2
0
 // 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();
 }