asp.NET: How to access repeater generated elements?
问题 i have a repeater than creates a table: <itemtemplate> <tr id="theTableRow" runat="server"> <td> <asp:LinkButton runat="server" OnClientClick="todo" Text="Do Something" /> </td> </tr> </itemtemplate> Note: the OnClientClick="todo" line. In the final rendered code, i want the todo to contain a call to a javascript function, passing: the ID of the generated table row, and the Eval of a property of the currently bound object And now for some pseudo-code : Pseudocode 1: OnClientClick="DoSomething