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
- Drag a WebCombo instance into the WebForm.
- Add the following function in client side:
JavaScript Copy 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;
}
- Invoke WebCombo1_OnShowDropDown() function in OnShowDropDown client side events of WebCombo.
- Run the project.