T
tshad
I used to do all my coding in single page DreamWeaver and am now using VS
2005.
I used to add onclick events to linkbuttons like so:
lnkFullName.Attributes.Add("onclick", "findit");
<asp:LinkButton ID="lnkFullName" runat="server"
Text='<%# Bind("DisplayedName") %>'
CommandArgument='<%# Bind("DisplayedName") %>'
CommandName="view" CssClass="name" />
This is also in a Repeater.
The error I get is:
The name 'lnkFullName' does not exist in the current context
How do attach the Javascript function to these linkbuttons?
Thanks,
Tom
2005.
I used to add onclick events to linkbuttons like so:
lnkFullName.Attributes.Add("onclick", "findit");
<asp:LinkButton ID="lnkFullName" runat="server"
Text='<%# Bind("DisplayedName") %>'
CommandArgument='<%# Bind("DisplayedName") %>'
CommandName="view" CssClass="name" />
This is also in a Repeater.
The error I get is:
The name 'lnkFullName' does not exist in the current context
How do attach the Javascript function to these linkbuttons?
Thanks,
Tom