Floating Panel + Dojo + combobox = Format Specified Invalid error

Discussion created by pmbalda on Apr 26, 2010
Latest reply on Sep 22, 2012 by SHarihar-esristaff
I have a floating panel with the following 2 divs
<div dojoType="" url="ZoomTo/data/states_web_merc_withcenter.json" jsId="stateStore" ></div>
<div dojoType="dijit.form.ComboBox" store="stateStore" searchAttr="name" id="GoToLocationFloatingPanel_stateInput"  onclick="changeZIndex();"></div>

When I select the drop down, I see the list of states. If I select a state, I get the following error:
Sys.FormatException: Format specifier was invalid.

and sometimes nothing appears in the text box, sometimes NaN appears.

Any thoughts?