Click here to Skip to main content
15,920,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please help! Enquiry form on ajax modelpopup which load one time when website is load and after filling the form and click on submit button popup will disappear
Updated 4-Feb-13 0:48am

I ain't sure it will help ya but you should take a look :[^]
Share this answer
I can give you an idea of how you can complete this but I'll not give you exact code so that you can do it by yourself. This is not very hard.
For modal you can use jQuery Colorbox plugin[^] to create modal popup. There are many more plugins to create a popup. You can search on google for that. Now call the modal popup in jQuery document ready function, so that on page load the modal show up.
Now you can use asp button click event to save data on clicking the button. This will cause a postback and after postback you can call a function from backend to close the colorbox.

I hope this will help. Let me know if you stuck anywhere.
Thanks :)
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