Intersoft WebCombo Documentation
LinkSettings Class
Members  See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace : LinkSettings Class






LinkSettings class provides information about WebCombo links configurations. LinkSettings class provides information about WebCombo links configurations.

Object Model

LinkSettings Class

Syntax

Visual Basic (Declaration) 
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<SerializableAttribute()>
Public NotInheritable Class LinkSettings 
   Inherits ISNet.WebUI.WebUIBaseClass
   Implements ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize 
Visual Basic (Usage)Copy Code
Dim instance As LinkSettings
C# 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[SerializableAttribute()]
public sealed class LinkSettings : ISNet.WebUI.WebUIBaseClass, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize  
Delphi 
public class LinkSettings = class(ISNet.WebUI.WebUIBaseClass, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize)sealed; 
JScript 
PersistenceModeAttribute(PersistenceMode.InnerProperty)
SerializableAttribute()
public sealed class LinkSettings extends ISNet.WebUI.WebUIBaseClass implements ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize 
Managed Extensions for C++ 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[SerializableAttribute()]
public __gc __sealed class LinkSettings : public ISNet.WebUI.WebUIBaseClass, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize  
C++/CLI 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[SerializableAttribute()]
public ref class LinkSettings sealed : public ISNet.WebUI.WebUIBaseClass, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize  

Remarks

LinkSettings allow users to configure one WebCombo to be dependent on another WebCombo without writing any line of codes. The WebCombo instances which have LinkSettings Enabled should be set in Bound mode, as its datasource will be automatically filtered based on the value entered in specified ParentWebComboID. This feature supports most scenarios from basic single dependency scenario to combined dependencies scenario. Developers can also write their custom codes in order to use their own filtering algorithm for advanced LoadOnDemand scenario

The Linked WebCombo feature supports following scenarios:

  1. Single dependency mode. This is the most common scenario in web application, where one WebCombo should depend on the value of another WebCombo. It involves only one-to-one relation between one WebCombo and another. The most common scenario is such as the relations between Division, Manager and Staff.
  2. Multiple dependency mode. This mode allows you to configure a WebCombo to be dependent to more than one WebCombo. The users are then required to fill the specified Parent WebCombo(s) first prior to be able to select a value in the linked combo. For example, Supplier list that based on ProductCategory and City. Both ProductCategory and City are independent and not linked. However, the Supplier list requires both ProductCategory and City to be filled prior to be able to select a Supplier.  
  3. Combined dependency mode. In this advanced scenarios, an array of WebCombo instances can be linked in several ways, some of them could be linked using Single dependency mode, and others can be linked using Multiple dependency. Combined scenario is the combination of single and multiple dependencies scenario in order to create an array of linked WebCombo instances, where one WebCombo is dependent to another WebCombo and another WebCombo is dependent to one or more than one other instances. One common scenario for the combined mode is similar to following, where Vehicle input requires VehicleType to be filled first, next the available dealers is dependent to VehicleType and Dealer input. These links between single and multiple dependencies creates an array of linked WebCombo named Combined Dependencies. Dealer and Models are configured in Bound mode, and others in Unbound mode to demonstrate more advanced scenario.
  4. Unbound mode. The LinkedWebCombo feature supports Unbound mode specifically. You can define LinkSettings in the similar way as in Bound mode, and have the linked WebCombo filtered in the client side automatically.

Inheritance Hierarchy

System.Object
   ISNet.WebUI.WebUIBaseClass
      ISNet.WebUI.WebCombo.LinkSettings

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.