Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a linkButton.But the linkbutton click event is not fired.
Posted
Comments
[no name] 17-Aug-11 8:08am    
Show your code.

You're not doing it right.

I know that answer seems vague, but the quality of the answer is dictated by the quality of the question.


If you're using onclientlick, that's supposed to point to a javascript method. OnClick points to the server-side handler.
 
Share this answer
 
C#
<asp:linkbutton id="ResolverButton" runat="server" onclick="lnkButton_Click" xmlns:asp="#unknown" />


Check onclick="lnkButton_Click" is there in your code.

Check the event name present in click event and code behind are same.

Senthil S
 
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