<asp:hyperlink id="lnkNewUser" text="Click Here!" css-class="content_link" OnClick="cmdProcessLogin" /
Doesn't show up. Problem? Wrong Usage? Can't find reference to this control anywhere on the web...the control is missing the runat="server" attribute
You need the runat=server, and there is no text property. Use it like this:
<asp:HyperLink id="HyperLink1" runat="server">HyperLink</asp:HyperLink>
Hi there,
Couple of thing:
1- I beleive there isn't such a thing as "css-class"; Try "CssClass" instead
2- A Hyperlink doesn't have an onclick event. You must want a LinkButton for that. If you need to add a javascript, add it in the code behind in the attributes on the control:
Example: lnkNewUser.Attributes.Add("onclick", "cmdProcessLogin");
3- You need a runat="server".
That should help,
Covo
Hey
Sorry about that post, after so many hours of looking at this thing it I get lazy.
Thanks for the help: <asp:linkbutton id="lnkNewUser" cssclass="content_link" onclick="ShowNewUserForm" runat="server">Click Here!</asp:linkbutton>
0 comments:
Post a Comment