ButtonField.ImageUrl Property
.NET Framework 3.0
Gets or sets the image to display for each button in the ButtonField object.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_ImageUrl () /** @property */ public void set_ImageUrl (String value)
public function get ImageUrl () : String public function set ImageUrl (value : String)
Not applicable.
Property Value
The image to display for each button in the ButtonField. The default is an empty string (""), which indicates that the ImageUrl property is not set.When the ButtonType property of a ButtonField object is set to the Image value, use the ImageUrl property to specify the image to display for each button. This image can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client browser supports that format.
The value of this property is stored in view state.
Community Additions
ADD
Show: