AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 ModalPopup extender example is not working
Posted by Prashant Bhambar on  12/7/2010 2:37:51 AM Category: AJAX
Add to my favorites
Email to friend
Hello Sir,

I tried your modal pop-up extender example, but it's not working in my case. when i clicked on edit button the page get refreshed instead of opening pop-up.
Please help me it's very urgent.

Post Your Reply Post New Question

 Viewer's Reply
ModalPopup Extender
Answered By Moderator1 on 12/21/2010 7:24:56 AM
Hi,

If the page gets refreshed, the button is not properly set with the modal popup extender.. Please check the below syntax.

<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BackgroundCssClass="PopupBg" CancelControlID="Button2" OkControlID="Button1" PopupControlID="Panel1" TargetControlID="HyperLink1" X="300" Y="200">
</cc1:ModalPopupExtender>
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
The Beginner's Guide to Joomla
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
Simply JavaScript - Free 150 Page Preview!