Intersoft WebGrid Documentation
EditType Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridColumn Class : EditType Property






Gets or sets the edit control for the column.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<DescriptionAttribute("Gets or sets the edit control for the column.")>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
Public Property EditType As EditType
Visual Basic (Usage)Copy Code
Dim instance As WebGridColumn
Dim value As EditType
 
instance.EditType = value
 
value = instance.EditType
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Gets or sets the edit control for the column.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public EditType EditType {get; set;}
Delphi 
public read-write property EditType: EditType; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute()
DescriptionAttribute("Gets or sets the edit control for the column.")
NotifyParentPropertyAttribute()
DefaultValueAttribute()
public function get,set EditType : EditType
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Gets or sets the edit control for the column.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public: __property EditType get_EditType();
public: __property void set_EditType( 
   EditType value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute("Gets or sets the edit control for the column.")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public:
property EditType EditType {
   EditType get();
   void set (    EditType value);
}

Remarks

WebGrid.NET 5.0 Enterprise provides several edit types such as Textbox, NoEdit, MultilineTextbox, Checkbox, DropdownList, CalendarDropdown, CalendarCombo, Custom, Resizable TextBox, and best of all, WebComboNET. The integration between WebGrid.NET and WebCombo.NET can be specified using WebGrid.NET Designer or programmatically in runtime. To learn more and give you better illustration please read Intersoft WebCombo.NET Integration

WebCombo.NET provides many advanced functionalities over the standard DropdownList such as load on demand pick list, multiple columns, richer presentation and much more. The integration of the WebCombo component as EditType in the WebGrid results in a much sophisticated, smooth user experience in which large data such as Products, are no longer dumped out initially on page load. Using the same OnTheFly Postback architecture, WebCombo.NET works perfectly when loading data on demand while WebGrid itself is in Edit mode.

New in WebGrid.NET 5.0 Enterprise you can set the column to read-only, simply by choose NoEdit on the EditType. Column with EditType = NoEdit (read only) will have the status text and icon configured automatically.

WebGrid.NET 5.0 Enterprise has introduced rich editing experience, such as ability to perform data editing directly inside the Grid. It introduces a new edit type, a resizable text box edit control. The resizable text box makes it easy and convenience for user while editing cell containing larger amount of text. With this new feature, users can easily resize the text box by dragging the resize handler at the bottom right position.

Also in WebGrid.NET 5.0 Enterprise, user can use Template Cell on WebGridColumn. You can still specify the EditType of the Column while it is displayed using Template ColumnType since editing is not affected with Templated Column.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.