M
Mark
I have a Table server control with several link buttons. How do I generate
the click events for each of these controls? I can't double click on them
or go into the properties of the linkbuttons to generate the event like I
usually do using VS.NET and C#. I could explicitly type out the event
handler into the InitializeComponent() method, but that usually makes VS.NET
freak out down the line when I start messing with the web designer generated
code.
Suggestions? See the .aspx code below.
<asp:Table id="Table2" runat="server">
<asp:TableRow>
<asp:TableCell>
<asp:LinkButton runat="server" ID="lnkSomeLinkButton">My link
button</asp:LinkButton>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
Thanks in advance.
Mark
the click events for each of these controls? I can't double click on them
or go into the properties of the linkbuttons to generate the event like I
usually do using VS.NET and C#. I could explicitly type out the event
handler into the InitializeComponent() method, but that usually makes VS.NET
freak out down the line when I start messing with the web designer generated
code.
Suggestions? See the .aspx code below.
<asp:Table id="Table2" runat="server">
<asp:TableRow>
<asp:TableCell>
<asp:LinkButton runat="server" ID="lnkSomeLinkButton">My link
button</asp:LinkButton>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
Thanks in advance.
Mark