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

Is it possible create a modalpopup to add new contacts without witch the the modalpopup disappear when I press the Save Save button?
I would like press Save Button and after this, empty textareas and the user insert new contacts, using modalpopup
.

Thank you and sorry by my english!

Fabio
Brazil
Posted
Comments
Richard C Bishop 19-Feb-13 14:19pm    
Yes it is possible. Just don't set the cancel button of the modalpopup to the save button and have the functionality to do what you want in the save button event.
Sistema SGT 20-Feb-13 9:26am    
Richcb I didn't set the cancel button of the modalpopup to the save button (I set it to cancel button).
Thank you!

1 solution

yes , it's possible
you can use http://jqueryui.com/dialog/#modal-form[^]
instead of Ajax's ModalPopup , becuase you can define your own event
 
Share this answer
 
Comments
Sistema SGT 20-Feb-13 9:27am    
SaeedSalehi, I visited jqueryui's site and I like its! I'm going study it.
Thanks you!
SaeedSalehi 23-Feb-13 2:51am    
i'm so happy :-) if you have any question or problem ican help you
happy coding :D
if this solution helos you...plz improve solution

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