Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
how to make pop window on page ??

Please go through below url for simple popup window
For Using GreyBox Popup Window in
Using GreyBox Popup Window in
Share this answer
vihangshah 21-Feb-13 1:42am    
ya but have you a another way to create it rather than java script ???

you can make use of method.
refer the below articles.
MSDN-open method (Windows)[^]
HtmlWindow.Open Method (Uri, String, String, Boolean)[^]
How to open a popup window from C# code behind[^]

hope it helps.
Share this answer
First you add Ajax toolkit dll in your Application. After that use the

<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Gdvwratebtn"
                                            BackgroundCssClass="modalBackground" PopupControlID="ratepopup" DropShadow="true">

create the asp button & panels
inside of panel use asp all controls as your wish
**TargetControlID="Gdvwratebtn" is the Button ID
**PopupControlID="ratepopup" is the Panel ID
Share this answer
vihangshah 21-Feb-13 4:18am    
when i gave id in targetcontrolid="button1" then extender remove from the panel if we want to apply extender to the panel then in both popupcontrolid & targetcontrolid we have to give id i.e panel1...!!! now what is a solution???

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