Setting up your Combobox implementation should go smoothly. However, like all components, there are places where things can go wrong. Here are specific instructions for troubleshooting common problems.
The html page where the grid tag appears must contain the NTB namespace. put this in the tag at the top of the page. Eg:
JavaScript component isn't loading.
For some reason, the nitobi.combo.js component might not be loading. Is it referenced correctly?
nitobi.loadComponent(); isn't being called.
When the page is loaded, nitobi.loadComponent() must be called. In your tag, use the onLoad property to do this, either directly, or through a JavaScript function. Eg:
Improperly defined Combo Tag
An incorrectly defined HTML Combo tag may cause the combo to not appear. Consult the included demos for an example of a properly formed combo tag.
Combo tag Properties using wrong cAsE
Something of vital importance when defining the combobox is the cAsE of combo properties in the HTML combo tag.
Consult the documentation for correct capitalization of combo properties.
This is probably due to the stylesheet being incorrectly referenced. Did you copy the styles into your application folder? Here is an example of a correct CSS reference appearing in the tag of your page:
Close tags not used
If your combobox doesn't render properly in Firefox/Mozilla/Netscape etc but does in IE, you may not be closing all of your tags properly. Here is an example.
Every column in the combobox must reference (with the attribute DataFieldIndex) a column of data in the datasource. Eg:
In this example, the column is bound to the first data column (XML field "a").
There is a problem with the getHandler.
To see if the getHandler is working correctly, try calling directly in your browser. If your getHandler is gethandler.asp, simply call it in your browser window and then View Source. You should see a properly formatted XML stream like this:
If not, you will probably get a server error. Check your file permissions and troubleshoot the script as you would any other. Refer to the server-side XML API documentation included with the Combo.