Click here to Skip to main content
15,911,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My problem is that i created a user user control with some asp:button and i want to open that ascx page into a popup window on button click event.


i want code in javascript or in c# to render that user control

please some one help


thanks in advance
Posted

1 solution

You cannot directly show an UserControl in a Popup. What you can do is, show one aspx page on the Popup, which already includes the ascx page in it.
 
Share this answer
 
Comments
Kriti Sharma 10400841 24-Jun-14 7:40am    
thanks for your quick reply but i dont want to create an aspx page manually. is there any way to create a popup using javascript that have user control???????

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