• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1202
  • Last Modified:

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

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
reach_prgmmer
Asked:
reach_prgmmer
  • 2
1 Solution
 
Obadiah ChristopherCommented:
When u click on linkbutton it causes a poistback due to which the popup gets closed.
0
 
reach_prgmmerAuthor Commented:
Is there a way I can actually get the popup not to close?
0
 
reach_prgmmerAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now