ImageMapForceScriptRegistration Property

This property is used to force registration of the postback script even if it may not be used

Definition

Namespace: EWSoftware.ImageMaps.Web.Controls
Assembly: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
public bool ForceScriptRegistration { get; set; }

Property Value

Boolean
The default is false and the script is only registered if there are image areas with their Action set to PostBack. You can set this to true to force the postback script to be registered so that it appears in the page. This is useful if you are using the image map in an Ajax panel and the control does not contain image areas when the page is initially loaded.

See Also