Click here to Skip to main content
13,348,874 members (76,565 online)
Rate this:
Please Sign up or sign in to vote.
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
Posted 20-Dec-12 9:42am
Updated 4-Feb-13 1:48am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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 :)
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I ain't sure it will help ya but you should take a look :[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2018
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