Intersoft WebCombo Documentation
How-to: Get specific row by its index
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Client-side Programming How-to Topics > How-to: Get specific row by its index

Glossary Item Box

In WebCombo.NET V4.0, you can get specific row in combo via client side.

In this topic, you will learn how to use GetRow method.

To get specific row by its index in WebCombo

  1. Drag a WebCombo instance into the WebForm.
  2. Drag a HTML button and leave the Id as it is, which is Button1.
  3. Double click the HTML button and add the following code in the defined client side event handler:

  4. JavaScript Copy ImageCopy Code
    function Button1_onclick()
    {
       // Obtain WebCombo object
       var combo = ISGetObject("WebCombo1");
       var row0 = combo.GetRow(0);
    }                       

  5. Run the project.

See Also