ASP.NET AJAX Control Toolkit Demos v20.1.0.0

PopupControl Sample
Ajax Control Toolkit
PopupControl Demonstration
Enter date for new reminder:

Reminder message:
Please select 'Cancel' to discard changes.







[No response provided yet]
PopupControl Description
PopupControl is an ASP.NET AJAX extender that can be attached to any control to open a popup window that displays additional content. This popup window will probably be interactive and located within an ASP.NET AJAX UpdatePanel. So, it will perform complex server-based processing (including postbacks) without affecting the rest of the page. The popup window can contain any content including ASP.NET server controls, HTML elements, etc. Once work of the popup window is done, a simple server-side call dismisses it and triggers any relevant script on the client to run and update the page dynamically.
PopupControl Properties
Properties
  • CommitProperty - Optional setting specifying a property of the control being extended that should be set with the result of the popup
  • CommitScript - Optional setting specifying an additional script to run after the result of the popup is set
  • ExtenderControlID - The ID of the extender control
  • OffsetX - The number of pixels to offset the Popup from its default position, as specified by Position
  • OffsetY - The number of pixels to offset the Popup from its default position, as specified by Position
  • OnHide - OnHide animation will be played each time the popup is hidden
  • OnShow - OnShow animation will be played each time the popup is displayed. The popup will be positioned correctly but hidden. Animation can be used to display the popup with other visual effects
  • PopupControlID - The ID of the control to display
  • Position - Optional setting specifying where the popup should be positioned relative to the target control (Left, Right, Top, Bottom, or Center)

Methods
  • Cancel() - Cancels the popup control and hides it abandoning results
  • Commit(result) - Commits the popup control and hides it applying the specified result
  • GetProxyForCurrentPopup(page) - Returns a proxy PopupControlExtender representing the currently active popup on the specified page
Copyright © 2012-2024 CodePlex Foundation. All Rights Reserved.