Version

UseBodyAsParent Property

Gets sets ability to use FORM as parent for dialog. If FORM is not found, then BODY is used.
Syntax
'Declaration
 
Public Property UseBodyAsParent As Boolean
public bool UseBodyAsParent {get; set;}
Remarks

Notes for enabled property:

  • That property is not supported if WebDialogWindow is located in UpdatePanel.
  • Do not use it if side effects occur.
  • On client WebDialogWindow will be removed from its original container and moved into FORM or BODY. That may help to keep dialog on top of other html elements.
  • Since dialog will have different parent, it may appear at the bottom of page. To ensure initial location, application may use Left, Top or InitialLocation properties.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also