Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

i am using asp:button
i code like this
ASP.NET
<asp:Button ID="btnFinish" runat="server" Text="Finish" Width="100px" OnClick="btnFinish_Click" />

i cannot see the functionality for this button in code behind while i put the breakpoint there

Note:

when i newly create the asp:button
like this
ASP.NET
<asp:Button ID="btnFinish" runat="server" Text="Finish" Width="100px"/>

still i didnt add the click event for this
and then i tried to add "click event" in property window
Actually it want to automatically code change like
ASP.NET
<asp:Button ID="btnFinish" runat="server" Text="Finish" Width="100px" OnClick="btnFinish_Click" />

but it doesn't change like that

it still remains in
ASP.NET
<asp:Button ID="btnFinish" runat="server" Text="Finish" Width="100px"/>

i think this was the problem not firing


can anyone please help for me

thanks in advance

M.S.K.Saravana Kumar
Posted
Updated 3-Nov-11 1:36am
v2

Hi M.S.K.Saravana Kumar,

close the application and open it ones again and be assure ur code build it sucessfully or not may be u forget to write something

its an normal issue definatly it will work
 
Share this answer
 
Comments
msk kumar 3-Nov-11 8:07am    
Thank you for your support Khan mohd faizan

i did the same thing just now but still its not working(Not firing)
Hi M.S.K.Saravana Kumar,

Write your code in some function in the form of eventhandler, and give its name to 'OnClick' event of asp button. I hope it will work.
 
Share this answer
 
just reset visual studio settings and start again...
go to tools>>import & export setting>>reset settings...
 
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