System.Web.UI.WebControls Namespace CommandField Class
.NET Framework version 2.0
Sets or retrieves the image to display for the Insert button in a CommandField.
The property is read/write with no default value.
Use the InsertImageUrl property to specify or determine the path to the image file to display for the Insert button in a CommandField control.
NOTE: This property applies only when the ButtonType property of a CommandField is set to Image.
As an alternative to displaying an image for an Insert button, you can display text by first setting the ButtonType property to Button or Link and then setting the InsertText property.
The following example demonstrates how to use the InsertImageUrl property to display an Insert image button in a DetailsView control.
Show me
CommandField Members CancelImageUrl DeleteImageUrl EditImageUrl NewImageUrl SelectImageUrl UpdateImageUrl
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph