Solved

How to display AJAX PopupControlExtender and close it when clicked on any part of the page?

Posted on 2011-02-22
3
1,153 Views
Last Modified: 2012-06-27
I am using  AJAX PopupControlExtender on my web page.
<asp:Panel ID="panel1" runat="server" CssClass="modalPopup" style="display:none;" >
//SOME TEXT//
</asp:Panel>
<ajaxtoolkit:PopupControlExtender runat="server"
PopupControlID="panel1"
id="PopupControlExtender1" OffsetX="50" OffsetY="15"
TargetControlID="linkButton1">
<asp:LinkButton ID="linkButton1" runat="server">Help</asp:LinkButton>

Right now, this code opens the popup when I click on the link button and closes immediately. I want it to display for some more time and when I click on any part of the page it should close.
How do I do that?
0
Comment
Question by:reach_prgmmer
  • 2
3 Comments
 
LVL 20

Expert Comment

by:informaniac
ID: 34953074
When u click on linkbutton it causes a poistback due to which the popup gets closed.
0
 

Accepted Solution

by:
reach_prgmmer earned 0 total points
ID: 34954266
Is there a way I can actually get the popup not to close?
0
 

Author Closing Comment

by:reach_prgmmer
ID: 34990826
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question