London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class ModalPopupExtender

Implements
Inherited Members
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
[RequiredScript(typeof(DropShadowExtender))]
[RequiredScript(typeof(CommonToolkitScripts))]
[RequiredScript(typeof(DragPanelExtender))]
[ClientScriptResource("AjaxControlToolkit.ModalPopupBehavior", "AjaxControlToolkit.ModalPopup.ModalPopupBehavior.js")]
public class ModalPopupExtender : DynamicPopulateExtenderControlBase, IControlResolver

Constructors

ModalPopupExtender()

Declaration
public ModalPopupExtender()

Properties

BackgroundCssClass

Declaration
[ExtenderControlProperty]
public string BackgroundCssClass { get; set; }
Property Value
Type Description
System.String

CancelControlID

Declaration
[ExtenderControlProperty]
public string CancelControlID { get; set; }
Property Value
Type Description
System.String

Drag

Declaration
[Obsolete("The drag feature on modal popup will be automatically turned on if you specify the PopupDragHandleControlID property. Setting the Drag property is a noop")]
[ExtenderControlProperty]
public bool Drag { get; set; }
Property Value
Type Description
System.Boolean

DropShadow

Declaration
[ExtenderControlProperty]
public bool DropShadow { get; set; }
Property Value
Type Description
System.Boolean

OkControlID

Declaration
[ExtenderControlProperty]
public string OkControlID { get; set; }
Property Value
Type Description
System.String

OnCancelScript

Declaration
[ExtenderControlProperty]
public string OnCancelScript { get; set; }
Property Value
Type Description
System.String

OnOkScript

Declaration
[ExtenderControlProperty]
public string OnOkScript { get; set; }
Property Value
Type Description
System.String

PopupControlID

Declaration
[RequiredProperty]
[ExtenderControlProperty]
public string PopupControlID { get; set; }
Property Value
Type Description
System.String

PopupDragHandleControlID

Declaration
[ExtenderControlProperty]
public string PopupDragHandleControlID { get; set; }
Property Value
Type Description
System.String

RepositionMode

Declaration
[ExtenderControlProperty]
[ClientPropertyName("repositionMode")]
public ModalPopupRepositionMode RepositionMode { get; set; }
Property Value
Type Description
ModalPopupRepositionMode

X

Declaration
[ExtenderControlProperty]
public int X { get; set; }
Property Value
Type Description
System.Int32

Y

Declaration
[ExtenderControlProperty]
public int Y { get; set; }
Property Value
Type Description
System.Int32

Methods

Hide()

Declaration
public void Hide()

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
Overrides

Show()

Declaration
public void Show()

Implements