Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello sir
i have used modal popup set target control id =button1 and popup id =panelshow
in panel show i have taken two buttöns from which submit is first button
other is cancel button
Now i set submit button as default it works properply but problem is that when i hit or enter on cancel button it also work as default how to overcome this
Posted
Comments
Richard C Bishop 26-Dec-13 13:26pm    
Check and see what event handler is hooked up to the cancel button.
Kapil Nandgave 26-Dec-13 13:34pm    
please tell me what is solution for this
[no name] 27-Dec-13 7:17am    
when i hit or enter on cancel button it also work as default
It means on click of cancel button it's submitting data as that...
it may both are accessing same event

Already answered at panel having two buttons as default[^].
 
Share this answer
 
 
Share this answer
 
pls check control id =button1

and enter and cancel button id.
 
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