Nevron .NET Vision Documentation
Custom HTML Map Area Attribute

Every object that has an interactivity style can have an associated custom HTML map area attribute. This attribute specifies custom script to be injected in the object AREA when the control is used in Web applications. The HTML map area attribute is represented by the NCustomMapAreaAttribute class. You assign a map area attribute to the object by creating an instance of this class and adding it to the InteractivityAttributes collection. For example:

Copy Code
NCustomMapAreaAttribute customMapAreaAttribute = new NCustomMapAreaAttribute();
customMapAreaAttribute.JScriptAttribute = "OnClick = \"javascript:alert('You clicked on this object')\"";
Visual Basic
Copy Code
Dim customMapAreaAttribute As New NCustomMapAreaAttribute
customMapAreaAttribute.JScriptAttribute = "OnClick = 'javascript:alert('You clicked on this object')'"
See Also



©2019. Nevron Software LLC.

Send Feedback