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

ASP.Net how to limit a popup's drag

i have a popup window which Devx control (although i don't think this matters), is there a way to allow the popup to be dragged but limit the dragging to a certain range?  i tried iframe but it merely stop the drag completely.  thanks.
0
mmingfeilam
Asked:
mmingfeilam
1 Solution
 
Alan WarrenApplications DeveloperCommented:
Is it an Ajax modalpopup, if so there is property to reposition on window scroll?

The reason I mention that is because it had side effect, when dragging the popup too far it would snap back to centre screen.

repositionMode - Gets or sets a Sys.Extended.UI.ModalPopupRepositionMode object that determines whether the modal popup should be repositioned on window resize or on window scroll.
http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20ModalPopup%20Control.ashx

Alan
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

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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