Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Iam Using VS 2012 In my project Link button is not working
my link buton is
<asp:LinkButton ID="lnkJournalFrom" runat="server" ForeColor="Blue" Font-Underline="false" Text="Select" OnClick="lnkJournalFrom_Click"></asp:LinkButton>


Please help to fire this event

Thanks in Advance
Posted
Comments
norbitrial 26-Mar-14 5:11am    
Do you have a code behind for your LinkButton?
[no name] 26-Mar-14 5:15am    
My codebehind

protected void lnkJournalFrom_Click(object sender, EventArgs e)
{
txtJournalFromSearch.Text = "";
mpeJournalFrom.Show();
JournalNAttachment();
mpeJournal.Show();

}
Siva Hyderabad 26-Mar-14 5:37am    
I think, Your code in debugging state, or You are not saved file data...First Build the project,and place a debug point at required position..
Ajith K Gatty 26-Mar-14 5:53am    
Your link button is firing properly. I tried it. Put one break point and check it.
Good Luck

1 solution

Set the CausesValidation property of this "lnkJournalFrom" button to false.

CausesValidation="false"
 
Share this answer
 
Comments
[no name] 26-Mar-14 5:52am    
CausesValidation="false" property is not available
Ajith K Gatty 26-Mar-14 5:56am    
CausesValidation property is present. Check link button properties under Behavior.

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