Solved

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

Posted on 2011-02-22
3
1,154 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 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