ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - Smart Image - Client side

Obout.Ajax.UI.SmartImage.SmartImage class

 Inheritance Hierarchy

It is a client-side representation of the server-side Obout.Ajax.UI.SmartImage.SmartImage class.
Note Note
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as tooltip, you call the get_tooltip or set_tooltip methods:
var smartImage = $find("<%= SmartImage1.ClientID %>");
var _tooltip = smartImage.get_tooltip();
if(_tooltip.length == 0) smartImage.set_tooltip("My default tooltip");

Properties

Name Description
propertyelement node. Gets the DOM element that the current control object is associated with (hidden input). (Inherited from Sys.UI.Control.)
propertyimageUrl string. Gets or sets the image's Url.
propertytooltip string. Gets or sets tooltip for the image.

"The components Obout has are very cool ... keep up the good work"

Barry Cedergren

Random testimonial   All testimonials