Intersoft WebCombo Documentation
How-to: Get WebCombo instance
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Client-side Programming How-to Topics > How-to: Get WebCombo instance

Glossary Item Box

You can get WebCombo instance via client side using ISGetObject method.

In this topic, you will learn how to implement the method.

To get WebCombo instance using client side API

  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:

    JavaScript Copy ImageCopy Code
    function doClick()
    {
       var combo = ISGetObject("WebCombo1");
       alert(combo.Text);
    }                       

  4. Run the project.

See Also