public void InstantiateIn(Control container) { var link = new WebLinkButton(); link.CssClass = "page-number"; link.InnerSpan = true; link.TrailingLinefeed = true; container.Controls.Add(link); }
protected override void InstantiateInputControls(Control container) { var nextIncrement = new WebLinkButton(); nextIncrement.InnerSpan = true; nextIncrement.TrailingLinefeed = true; nextIncrement.CssClass = "next-incr"; nextIncrement.ID = "nextIncrement"; container.Controls.Add(nextIncrement); var nextPage = new WebLinkButton(); 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 WebLinkButton(); previousPage.InnerSpan = true; previousPage.TrailingLinefeed = true; previousPage.CssClass = "prev"; previousPage.ID = "previousPage"; container.Controls.Add(previousPage); var previousIncrement = new WebLinkButton(); previousIncrement.InnerSpan = true; previousIncrement.TrailingLinefeed = true; previousIncrement.CssClass = "prev-incr"; previousIncrement.ID = "previousIncrement"; container.Controls.Add(previousIncrement); }