i have one aspx page on which. set of linkbuttons on it.
linkbutton1
linkbutton2
linkbutton3
linkbutton4
linkbutton5
if i click on any of them. it should be highlighted.
These linkbuttons are in the table.
thanks for any help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you add a CssClass to any of your linkbuttons, something like
<asp:LinkButton ID="LinkButton1" runat="server" CssClass="linkbtn" />You can define the highlighted style in CSS like
and use some javascript to toggle classes. In jQuery it would look like:
in ASP.Net just use
and in codebehind
do this for every linkbutton