I have a datagrid, one of whose columns is defined like so: <asp:TemplateColumn HeaderText="Select"> <ItemTemplate> <asp:LinkButton runat="server" Text='<%# DataBinder.Eval Container, "DataItem.NameOnCard") %>' CausesValidation="false" Id="lnkExisting"> </asp:LinkButton> </ItemTemplate> </asp:TemplateColumn>
What I don't know how to do is to connect each instance of the linkbutton control to an event handler. I'm hoping to use the same handler for all instances of the control. My strategy has been to try to iterate through the collection of child controls looking for linkbuttons and then connect them to an event handler, however I have not had any luck doing so. Suggestions? Thanks --- You are currently subscribed to dotnet as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/