Hi, I have a large VS 2010 form with a moveable ModalPopupExtender hooked to a 'comments' panel to allow the user to drag the panel to reveal information on the form for reference when entering the comments. When the user moves the panel and scrolls the
form, the panel recenters. Is there a way to avoid this behaviour?
Member
4 Points
23 Posts
Moveable ModalPopupExtender recentering after window scroll
Nov 14, 2013 10:32 AM|HankAnzis|LINK
Hi, I have a large VS 2010 form with a moveable ModalPopupExtender hooked to a 'comments' panel to allow the user to drag the panel to reveal information on the form for reference when entering the comments. When the user moves the panel and scrolls the form, the panel recenters. Is there a way to avoid this behaviour?
Thanks
All-Star
48393 Points
12161 Posts
Re: Moveable ModalPopupExtender recentering after window scroll
Nov 14, 2013 10:56 PM|chetan.sarode|LINK
Refer this - http://forums.asp.net/p/1384543/2939621.aspx
http://stackoverflow.com/questions/596764/modalpopupextender-how-do-i-retain-my-position-after-dragging-and-firing-a-post
Team Lead, Product Development
Approva Systems Pvt Ltd, Pune, India.
All-Star
15648 Points
2151 Posts
Re: Moveable ModalPopupExtender recentering after window scroll
Nov 14, 2013 11:13 PM|Happy Chen - MSFT|LINK
hi HankAnzis,
you can try to set X,Y property for ModalPopupExtender control.
it seems like below:
Hope it helps you.
Member
4 Points
23 Posts
Re: Moveable ModalPopupExtender recentering after window scroll
Dec 17, 2013 02:18 PM|HankAnzis|LINK
Thanks, but this didn't work. When I set X and Y and then scroll the page behind the modal popup resets itself at X and Y.
Member
4 Points
23 Posts
Re: Moveable ModalPopupExtender recentering after window scroll
Jan 17, 2014 01:24 PM|HankAnzis|LINK
I received the answer at http://forums.asp.net/p/1959612/5606461.aspx