Click here to Skip to main content
15,910,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!
i want to show asp:button on javascript button. when user click on any label or button so a popup appears and it shows asp:button. later on i could perform any action on that button.
how to do it
thanks in advance
Posted
Comments
Samatha Reddy G 9-Oct-14 6:05am    
which js you are using to open popup?
saifullahiit 9-Oct-14 6:12am    
any js version

1 solution

Hi
take a div with button or whatever controls you need.

HTML
<div id="dialogdiv">
<!-- place your controls -->
</div>

open above div as jquery dialog

JavaScript
$("#dialogdiv").dialog("open");


handle the button click event as usual you do for normal buttons.


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