Intersoft WebGrid Documentation
EnableMultipleValues Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebValueList Class : EnableMultipleValues Property






Indicates whether multiple values data of the associated column should be translated.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Indicates whether multiple values data of the associated column should be translated.")>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property EnableMultipleValues As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebValueList
Dim value As Boolean
 
instance.EnableMultipleValues = value
 
value = instance.EnableMultipleValues
C# 
[DescriptionAttribute("Indicates whether multiple values data of the associated column should be translated.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public bool EnableMultipleValues {get; set;}
Delphi 
public read-write property EnableMultipleValues: Boolean; 
JScript 
DescriptionAttribute("Indicates whether multiple values data of the associated column should be translated.")
DefaultValueAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set EnableMultipleValues : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Indicates whether multiple values data of the associated column should be translated.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property bool get_EnableMultipleValues();
public: __property void set_EnableMultipleValues( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Indicates whether multiple values data of the associated column should be translated.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property bool EnableMultipleValues {
   bool get();
   void set (    bool value);
}

Remarks

WebGrid.NET Enterprise 5.0 includes enhancement in WebValueList feature to support multiple values data. In previous version, you can easily translate an ID field to user friendly field through WebValueList in WebGrid. However, you can only display one translated value. For instance, RoleID = 1 being translated to Research Staff.

In version 5.0, WebGrid allows you to translate multiple values data using the improved WebValueList feature. To enable multiple values data lookup, you can set EnableMultipleValues property of the WebValueList object to True. For more information regarding multiple values on WebValueList, you can read Walkthrough: Configure the WebValueList of a WebGridColumn to translate multiple values data.

WebGrid.NET Enterprise 5.0 also allows you to edit the multiple values data that translated using WebValueList. This powerful feature implements strong integration between Intersoft's WebGrid and WebCombo control. With Multiple Selection feature available in WebCombo.NET version 3.0+, the WebGrid control seamlessly connect to WebCombo control in order to edit and return multiple values data of the selected cell.

In addition to multiple values editing, WebGrid.NET Enterprise 5.0 supports deeper integration with WebCombo.NET 4.0 control in other areas such as in user interface and editing environment. For example, when WebCombo and WebGrid controls are using DefaultStyle, the WebCombo control’s appearance will be adjusted automatically to fit into the editing cell. This automated behavior provides you rich editing experience with consistent look.

For more information you can read Walkthrough: Configures multiple values editing using WebCombo.NET 4.0 control in WebGrid.

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

Reference

WebValueList Class
WebValueList Members

Tasks

Walkthrough: Configure the WebValueList of a WebGridColumn to translate multiple values data
Walkthrough: Configures multiple values editing using WebCombo.NET 4.0 control in WebGrid

©2012 Intersoft Solutions Corp. All Rights Reserved.