Intersoft WebCombo Documentation
How-to: Display the result box to the right side of WebCombo
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Client-side Programming How-to Topics > How-to: Display the result box to the right side of WebCombo

Glossary Item Box

You could set result box to the right side of WebCombo.

In this topic, you will learn how to display the result box to the right side.

To display result box to the right side of WebCombo

  1. Drag a WebCombo instance into the WebForm.
  2. Add the following function in client side:

    JavaScript Copy ImageCopy Code
    function WebCombo1_OnShowDropDown(controlId, left, top, width, height)  
    {
      var wc1 = ISGetObject("WebCombo1");
      var wcheight = wc1.LayoutSettings.ItemHeight;
        
      wc1.ResultBox.show(left+wc1.FrameObj.offsetWidth,top-wcheight,width,height);
       
      return false; 
    }

  3. Invoke WebCombo1_OnShowDropDown() function in OnShowDropDown client side events of WebCombo.
  4. Run the project.

See Also