Click here to Skip to main content
15,900,511 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Create the popup window by using asp.net...anyone can help me please...?
Posted
Comments
Sandeep Mewara 10-Jul-12 8:35am    
What kind of help you are seeking? Where are you stuck?

Why? Does google stops working?

Try search on Google[^] first. Then post your questions here.

This is the first link of google search. A Prize winner article on CP which gives you details of highly customizable JavaScript popup control for web page wrapped in ASP.NET custom control.
ASP.NET Popup Control[^]

Have a look on CodeProject articles[^] to get some more articles on similar topic.

Try first by your self.
 
Share this answer
 
 
Share this answer
 
Take Ajax Contol ModalPopup

C#
<asp:button id="Button1" runat="server" text="PopUp" xmlns:asp="#unknown" />
<cc1:modalpopupextender id="modalpopupadd" runat="server" popupcontrolid="UpdatePanel1" backgroundcssclass="popupbodybg" xmlns:cc1="#unknown">
                    Drag="true" TargetControlID="Button1" CancelControlID="btnclose" CacheDynamicResults="True">
                </cc1:modalpopupextender>


ASP.NET
<asp:updatepanel id="UpdatePanel1" runat="server" updatemode="Conditional" xmlns:asp="#unknown">
                    <contenttemplate>
Write here which u want to pop up........
<asp:button id="btnclose" runat="server" text="Close" onclick="btnclose_Click" />
</contenttemplate>
</asp:updatepanel>


1> take one button name Button1
2> take one ModalpopupExtender. and set properties like above.
3> take updatepanel or panel which u want to popup.
 
Share this answer
 
Comments
vihangshah 21-Mar-13 12:45pm    
but what is use of content template tag here ??
because when i m writing this that time error occurred...!!

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