Click here to Skip to main content
15,920,031 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is my html which class used image button but when i put my link button replacing input button the text not supported
HTML
<div class="text_read"> <span class="submit-btn"><span>
<input  önclick="return Submit_request_a_quote_fn('frmreqquote');" value="LOGIN" type="submit">
</span></span>
<div class="clear"></div>
</div>

I put below link buttons


ASP.NET
<div class="text_read"> <span class="submit-btn"><span>
<%--<input onclick="return Submit_request_a_quote_fn('frmreqquote');" value="LOGIN" type="submit">--%>
<asp:LinkButton ID="lb_login" runat="server" CausesValidation="False"
OnClick="lb_login_Click">LogIn</asp:LinkButton>
<asp:LinkButton ID="lb_LogOut" runat="server" CausesValidation="False"
Text="Logout" Visible="false" OnClick="lb_LogOut_Click"></asp:LinkButton>
</span></span>
<div class="clear"></div>
</div>
Posted
Comments
Sandeep Mewara 13-Apr-13 10:29am    
Not clear. Please rephrase.

1 solution

You have several variations listed, but the proper format is this one:
XML
<asp:LinkButton ID="lb_LogOut" runat="server" CausesValidation="False"
Text="Logout" Visible="false" OnClick="lb_LogOut_Click"></asp:LinkButton>

or better yet, this one:
XML
<asp:LinkButton ID="lb_LogOut" runat="server" CausesValidation="False"
Text="Logout" Visible="false" OnClick="lb_LogOut_Click" />

This should work, once you remove the "visible=false" property.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900