Intersoft WebCombo Documentation
OnValueItemNotInList Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > ClientEvents Class : OnValueItemNotInList Property






Specifies the JavaScript function that will be invoked when the typed text can not be found in the List. This event is only applicable when MultipleSelectionSettings is enabled and AllowNotInListText is set to True. Specifies the JavaScript function that will be invoked when the typed text can't be found in the List. This event is only applicable when MultipleSelectionSettings is enabled and AllowNotInListText is set to True.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<DescriptionAttribute("Specifies the JavaScript function that will be invoked when the typed text can't be found in the List. This event is only applicable when MultipleSelectionSettings is enabled.")>
<ISNet.Serialization.BinarySerializableAttribute()>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")>
<ISNet.EventParameterAttribute("controlId, valueItems")>
<ISNet.Serialization.XmlSerializableAttribute()>
Public Property OnValueItemNotInList As String
Visual Basic (Usage)Copy Code
Dim instance As ClientEvents
Dim value As String
 
instance.OnValueItemNotInList = value
 
value = instance.OnValueItemNotInList
C# 
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies the JavaScript function that will be invoked when the typed text can't be found in the List. This event is only applicable when MultipleSelectionSettings is enabled.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
[ISNet.EventParameterAttribute("controlId, valueItems")]
[ISNet.Serialization.XmlSerializableAttribute()]
public string OnValueItemNotInList {get; set;}
Delphi 
public read-write property OnValueItemNotInList: String; 
JScript 
NotifyParentPropertyAttribute()
DefaultValueAttribute()
DescriptionAttribute("Specifies the JavaScript function that will be invoked when the typed text can't be found in the List. This event is only applicable when MultipleSelectionSettings is enabled.")
ISNet.Serialization.BinarySerializableAttribute()
EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")
ISNet.EventParameterAttribute("controlId, valueItems")
ISNet.Serialization.XmlSerializableAttribute()
public function get,set OnValueItemNotInList : String
Managed Extensions for C++ 
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies the JavaScript function that will be invoked when the typed text can't be found in the List. This event is only applicable when MultipleSelectionSettings is enabled.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
[ISNet.EventParameterAttribute("controlId, valueItems")]
[ISNet.Serialization.XmlSerializableAttribute()]
public: __property string* get_OnValueItemNotInList();
public: __property void set_OnValueItemNotInList( 
   string* value
);
C++/CLI 
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies the JavaScript function that will be invoked when the typed text can't be found in the List. This event is only applicable when MultipleSelectionSettings is enabled.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ISNet.WebUI.Design.ClientSideEventEditor, ISNet.WebUI.Design")]
[ISNet.EventParameterAttribute("controlId, valueItems")]
[ISNet.Serialization.XmlSerializableAttribute()]
public:
property String^ OnValueItemNotInList {
   String^ get();
   void set (    String^ value);
}

Remarks

You can handle this event to determine how items that are not in list should be treated. You can either alert the user that the specified value is not currently available and provide a form for them to input it. You can also instruct WebCombo to cancel the addition of unknown items by specifying return false at the end of function.

You can handle this event to determine how items that are not in list should be treated. You can either alert the user that the specified value is not currently available and provide a form for them to input it. You can also instruct WebCombo to cancel the addition of unknown items by specifying return false at the end of function.

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.