Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
 Restore position of a modal panel after postback
Posted by Sonne Himmel on  8/27/2007 7:54:51 AM Category: AJAX
Add to my favorites
Email to friend
There is a modal panel which was created with the help of a modalPopupExtender. There is also an updatePanel and a GridView on it. Selecting a row in the GridView raises postback what sets the position of modal panel to default value (center of the screen). How to restore position at the moment of postback?

Post Your Reply Post New Question

 Viewer's Reply
Cannot Restore Modal Popup Position
Answered By Moderator1 on 9/10/2007 10:06:46 AM

A modal popup extender is a client-side window, which cannot be retained after postback. You can retain it only by programatically, calling the method on the page load javascript event. Please check this as I'm not aware much about the restoring the position of the ModalPopup after postback.

Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
Sexy Web Design - Free 71 Page Preview!
Easing the Migration to Microsoft SQL Server 2005
Windows 8: 50 Questions and Answers You Need to Make a Decision (Normally $9.95)