Uredi

Deli z drugimi prek


HotSpot.PostBackValue Property

Definition

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

public:
 property System::String ^ PostBackValue { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string PostBackValue { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.PostBackValue : string with get, set
Public Property PostBackValue As String

Property Value

The name of the HotSpot object to pass in the event data when the HotSpot is clicked. The default is an empty string ("").

Attributes

Remarks

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

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

Applies to

See also