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

Please go through below url for simple popup window
http://www.c-sharpcorner.com/blogs/4070/popup-window-using-javascript-in-asp-net.aspx
For Using GreyBox Popup Window in asp.net
Using GreyBox Popup Window in asp.net
 
Share this answer
 
v2
Comments
vihangshah 21-Feb-13 1:42am    
ya but have you a another way to create it rather than java script ???
Hi,

you can make use of window.open 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

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


and
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
 
Comments
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