Comments DataList (Outer) and Replies DataList (Inner).
While in Inner DataList there is a LinkButton that gets text from TextBox.
How I can access Add event of that LinkButton?
.aspx code
<asp:DataList ID="dlComments" runat="server">
<asp:DataList ID="dlReplies" runat="server">
<asp:TextBox ID="txtReply" TextMode="MultiLine" Rows="3" Width="100%" runat="server"></asp:TextBox>
<asp:LinkButton ID="lbEdit" CommandName="Add" runat="server">Edit</asp:LinkButton>
</asp:DataList>
</asp:DataList>

You can add the
OnItemCommandto the nested DataList.And then in code behind