Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can we call an aspx.cs function on javascript or on popup window load?

I want that on click of any link of page, if it is the first time by the current user, it shows a pop up, asks to enter his name in the textbox of popup and click on submit. After submitting this value will be saved in a database.

Help me.
Posted
Updated 9-Dec-10 18:11pm
v4
Comments
JF2015 10-Dec-10 0:11am    
Edited to correct spelling.

C++
After getting your requirement the solution i think is that

1. you create a page on which you put the links.
2. by clicking that link you want to show a pop up to get the 'Name' of user, so i think you shoud create another .aspx page and on the click of link open the new page as a popup fill the required fields on that page and on the submit button send the 'user name' on the first page using query string.
3. on the first page you can check if there is some value in query string you can save it in database.
 
Share this answer
 
Sounds like PageMethod fits in best in your case. Google for PageMethod.
 
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