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






Specifies whether user input is required for the cell of this column during editing mode.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Specifies whether user input is required for the cell of this column during editing mode.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<DefaultValueAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property InputRequired As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGridColumn
Dim value As Boolean
 
instance.InputRequired = value
 
value = instance.InputRequired
C# 
[DescriptionAttribute("Specifies whether user input is required for the cell of this column during editing mode.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public bool InputRequired {get; set;}
Delphi 
public read-write property InputRequired: Boolean; 
JScript 
DescriptionAttribute("Specifies whether user input is required for the cell of this column during editing mode.")
ISNet.Serialization.XmlSerializableAttribute()
DefaultValueAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set InputRequired : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Specifies whether user input is required for the cell of this column during editing mode.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property bool get_InputRequired();
public: __property void set_InputRequired( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Specifies whether user input is required for the cell of this column during editing mode.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property bool InputRequired {
   bool get();
   void set (    bool value);
}

Remarks

This is a new property in WebGrid.NET 5.0 Enterprise that provide built-in feature for Required Input during data editing. When the cell of the specified column is empty, the updating will be blocked until all required input are filled. To give you better understanding and illustration you can read How-to: Enable required input validation for a 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.