Solved

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

Posted on 2011-02-22
3
1,163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 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