Table of Contents
AllowJavaScriptCloseWindow Property

Gets or sets a value indicating whether using JavaScript to close a window that was not opened with JavaScript should be allowed.

Syntax
 public Boolean? AllowJavaScriptCloseWindow { get; set; }
Remarks

This property controls whether using JavaScript to close a window that was not opened with JavaScript should be allowed. Windows that were opened with JavaScript are always be allowed.

If you do not set this property, the default value true is used.

See Also