Intersoft WebCombo Documentation
How-to: Add item in unbound WebCombo from server side
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Unbound Mode How-to Topics > How-to: Add item in unbound WebCombo from server side

Glossary Item Box

In WebCombo, you can add item from Server-side. 

This topic will show you how to add item to WebCombo on Server-side.

To add item to unbound WebCombo from Server-side

  1. Drag ASP.NET Button to the page.
  2. Double click the ASP.NET button. Then, add the following code in Button1_Click event handler:

    C# Copy ImageCopy Code
    WebComboRow row = new WebComboRow();
    row.Cells.Add(new WebComboCell());
    row.Cells[0].Text = "New Item";
    
    WebCombo1.Rows.Add(row);
    

  3. Run the project.

See Also