TemplateColumn.EditItemTemplate Property
.NET Framework 3.0
Gets or sets the template for displaying the item selected for editing in a TemplateColumn object.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[TemplateContainerAttribute(typeof(DataGridItem))] public: virtual property ITemplate^ EditItemTemplate { ITemplate^ get (); void set (ITemplate^ value); }
/** @property */ public ITemplate get_EditItemTemplate () /** @property */ public void set_EditItemTemplate (ITemplate value)
public function get EditItemTemplate () : ITemplate public function set EditItemTemplate (value : ITemplate)
Not applicable.
Property Value
A System.Web.UI.ITemplate-implemented object that contains the template for displaying the item being edited in the TemplateColumn. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.Use the EditItemTemplate property to control the appearance of the item selected for editing in the TemplateColumn object. The appearance is specified by creating a template that defines how the item is rendered in the column. To specify a template for the item selected for editing, first place opening and closing <EditItemTemplate> tags between the opening and closing tags of the <TemplateColumn> element. You can then list the content that controls the appearance of the item between the opening and closing <EditItemTemplate> tags. The content can be as simple as plain text, or it can be made more complex by embedding other controls in the template.
Community Additions
ADD
Show: