Mar 25, 2010, 3:06 PM
[CLOSED] [1.0] ComboBox Template
Upgraded to latest version through SVN.
The ComboBox isn't rendering data correctly in the Template. The following is what we're doing:
Thanks.
The ComboBox isn't rendering data correctly in the Template. The following is what we're doing:
<ext:Store ID="strCategory" runat="server" OnRefreshData="strCategory_RefreshData">
<Proxy>
<ext:PageProxy />
</Proxy>
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="CategoryCode" />
<ext:RecordField Name="CategoryName" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<ext:ComboBox ID="cbCategory" runat="server" FieldLabel="Category" StoreID="strCategory" MinChars="3" DisplayField="CategoryName" ValueField="CategoryCode" HideTrigger="true" ItemSelector="div.catSearch-item" AnchorHorizontal="100%">
<Template runat="server">
<Html>
<div class="catSearch-item">
{CategoryName} ({CategoryCode})
</Html>
</Template>
</ext:ComboBox>
It shows the "Loading..." item, then shows ONE line with "()". When it should show something like "Lumber (LUM388)".Thanks.