Exemplo n.º 1
0
    protected void rptPages_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        var button = e.Item.FindControl("lnkPage") as LinkButton;

        button.Style.Add("text-decoration", "underline");
        _messageManager.ChangePage(int.Parse(button.Text));
        UpdateMessageRepeater(_messageManager);
    }