Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I want popup aspx page from button from the parent page using C#

Help Please,
Thanks,
Posted
Comments
Sandeep Mewara 12-May-13 15:30pm    
And where are you stuck when you tried to do it?

1 solution

You can either use the modal popup extender control from the MS AJAX Control Toolkit (see here[^]).
Or you use a bit of JavaScript (see here[^]).

cheers,
Marco
 
Share this answer
 
Comments
Tarek Selem 12-May-13 8:30am    
About modal popup extender control, I need passing page not panel because i am working in public user control and have a mainpulate many pages
Marco Bertschi 12-May-13 8:34am    
Not possible. The only way would be to place the ASPX page content into an iframe.
Tarek Selem 13-May-13 7:29am    
Ok...i have solved it using showmodaldialog.open() javascript ...but how hide the browser border????
Tarek Selem 12-May-13 9:21am    
i have inserted this file "sp.ui.dialog.debug" to try this solution SP.UI.ModalDialog.OpenPopUpPage(dialogUrl, null, dialogWidth, dialogHeight);
But done error with me while browsing javascripts error

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