Click here to Skip to main content
15,907,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all
I am using modelpopup to insert new data, I want in the ok button click to execute button_Click.
But it didn't enter to it???
What is the solution now.
Posted
Updated 9-Mar-11 8:22am
v2

Please also see my notes here: how to use popup to enter data in asp.net[^].

—SA
 
Share this answer
 
Comments
moon2011 10-Mar-11 3:07am    
thanks
Sergey Alexandrovich Kryukov 10-Mar-11 3:58am    
You're welcome.
--SA
Hi Have a javascript like this in the header

C#
function submitForm() {
    document.forms[0].submit();
}


attach this to the Ok button onClientClient event. Then handle the page_load event what ever business logic you want to use.
 
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