Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Ajax
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 19-Feb-13 9:15am
Comments
richcb at 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 at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
Sistema SGT at 20-Feb-13 9:27am
   
SaeedSalehi, I visited jqueryui's site and I like its! I'm going study it.
Thanks you!
SaeedSalehi at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 8,478
1 OriginalGriff 6,516
2 Peter Leow 3,567
3 Zoltán Zörgő 3,351
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 20 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100