public void InstantiateIn(Control container) { var button = new WebButton(); button.CssClass = "page-number"; button.InnerSpan = true; button.TrailingLinefeed = true; container.Controls.Add(button); }
protected override void InstantiateInputControls(Control container) { var nextIncrement = new WebButton(); nextIncrement.InnerSpan = true; nextIncrement.TrailingLinefeed = true; nextIncrement.CssClass = "next-incr"; nextIncrement.ID = "nextIncrement"; container.Controls.Add(nextIncrement); var nextPage = new WebButton(); nextPage.InnerSpan = true; nextPage.TrailingLinefeed = true; nextPage.CssClass = "next"; nextPage.ID = "nextPage"; container.Controls.Add(nextPage); }
public override void InstantiateInputControls(Control container) { var previousPage = new WebButton(); previousPage.InnerSpan = true; previousPage.TrailingLinefeed = true; previousPage.CssClass = "prev"; previousPage.ID = "previousPage"; container.Controls.Add(previousPage); var previousIncrement = new WebButton(); previousIncrement.InnerSpan = true; previousIncrement.TrailingLinefeed = true; previousIncrement.CssClass = "prev-incr"; previousIncrement.ID = "previousIncrement"; container.Controls.Add(previousIncrement); }