Click here to Skip to main content
15,911,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have set extender control id on my save's code button than <b>popup open firstly so my save code is not execute</b>.so how can solve without remove my control id on save button.
Posted

1 solution

Hi,

If you have set the Save button as the targetcontrolid of modalpopupextender then obviuosly popup will shown first.

Do one thing. Place a dummy button and set its visibility to none using style attribute and assign this button as targetcontrolid of your modalpopupextender and after you are done with your save function simply call the modalpopupextender1.Show(); function.

Hope this helps.
 
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