Solved

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

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

Author Closing Comment

by:reach_prgmmer
ID: 34990826
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Form Data Disappears Using Back Button 4 61
Set arraylist as datatable 2 26
Google Chrome: Debugging AJAX call 6 33
How do I "share" on social sites? 2 33
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
This article discusses how to implement server side field validation and display customized error messages to the client.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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