ASP.Net how to limit a popup's drag

Posted on 2012-08-23
Last Modified: 2012-08-31
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.
Question by:mmingfeilam
    1 Comment
    LVL 26

    Accepted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
    Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now