Click here to Skip to main content
15,900,713 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi all,

I have a jQuery Modal form with username, mobile no and email textboxes and a button. The button in modal form is not working. Click event i not firing in server side. What is the problem?
Posted
Updated 28-Jun-13 1:35am
v2

Things to check:
i) Is the input type 'submit'?
If yes,
ii) Have your defined an onclick event. It will show click event in the rendered HTML.
iii) Is it disabled when you are clicking it?
iv) Is there is JavaScript function called on it's click which returns false?

These the some of the reasons why a button won't fire a server side event. You will need to show your code if these don't help.
 
Share this answer
 
It wont work you need to implement webmethod to handle that or else you can use Ajax tool kit Model popup. Its better.
Please see below link

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx[^]

Thanks
Manu v nath
 
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