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






Represents the data row that belongs to WebCombo object.

Represents the data row that belongs to WebCombo object.

Object Model

WebComboRow Class

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute()>
<SerializableAttribute()>
Public Class WebComboRow 
   Inherits ISNet.WebUI.NamedObjectBase
   Implements ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.WebUI.INamedObject 
Visual Basic (Usage)Copy Code
Dim instance As WebComboRow
C# 
[DescriptionAttribute()]
[SerializableAttribute()]
public class WebComboRow : ISNet.WebUI.NamedObjectBase, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.WebUI.INamedObject  
Delphi 
public class WebComboRow = class(ISNet.WebUI.NamedObjectBase, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.WebUI.INamedObject)
JScript 
DescriptionAttribute()
SerializableAttribute()
public class WebComboRow extends ISNet.WebUI.NamedObjectBase implements ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.WebUI.INamedObject 
Managed Extensions for C++ 
[DescriptionAttribute()]
[SerializableAttribute()]
public __gc class WebComboRow : public ISNet.WebUI.NamedObjectBase, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.WebUI.INamedObject  
C++/CLI 
[DescriptionAttribute()]
[SerializableAttribute()]
public ref class WebComboRow : public ISNet.WebUI.NamedObjectBase, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.WebUI.INamedObject  

Example

 

The following example shows you how to add new row and cell to the WebCombo in Unbound mode.
C#Copy Code
private void WebCombo1_InitializeLayout(object sender, ISNet.WebUI.WebCombo.LayoutEventArgs e)
{
   WebComboColumn col = new WebComboColumn();

   WebComboRow row0 = new WebComboRow();
   WebComboCell cell0 = new WebComboCell("Text1");
   row0.Cells.Add(cell0);
        
   WebComboRow row1 = new WebComboRow();
   WebComboCell cell1 = new WebComboCell("Text2");
   row1.Cells.Add(cell1);
                                                
   WebCombo1.Columns.Add(col);
   WebCombo1.Rows.Add(row0);
   WebCombo1.Rows.Add(row1);
}

Remarks

WebComboRow provides advanced configurations for users to create WebCombo in Unbound mode. When a multiple-column WebCombo works in Unbound mode, you can dynamically add new rows and cells to the WebCombo on server postback.

Users can use Cells property to add WebComboCell(s) on WebCombo. However, before creating cell(s) users need to create row(s) first (Shown in the example above). Users can also use CustomObjectAttributes property to assign custom attributes that they want to render along with the row's tag.

Inheritance Hierarchy

System.Object
   ISNet.WebUI.WebUIBaseClass
      ISNet.WebUI.NamedObjectBase
         ISNet.WebUI.WebCombo.WebComboRow

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.