System.Web.UI.WebControls.HotSpot.PostBackValue Property

Gets or sets the name of the System.Web.UI.WebControls.HotSpot object to pass in the event data when the System.Web.UI.WebControls.HotSpot is clicked.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.Bindable(true)]
public string PostBackValue { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the HotSpot.PostBackValue property to specify a name for a System.Web.UI.WebControls.HotSpot object. This name will be passed in the System.Web.UI.WebControls.ImageMapEventArgs event data when the System.Web.UI.WebControls.HotSpot is clicked. This property has an effect only when the HotSpot.HotSpotMode property is set to HotSpotMode.PostBack, to generate a postback to the server.

To programmatically control the actions performed when a System.Web.UI.WebControls.HotSpot object is clicked, provide an event handler for the ImageMap.Click event.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0