I've a problem with a WebDropDown with NetAdvantage 11.2.
I'm binding a DataTable to a WebDropDown, setting the ItemTemplate as shown in the demo video by Craig Shoemaker:
<ig:WebDropDown runat="server" ID="cboTest" TextField="Code" ValueField="Code" AutoPostBackFlags-ValueChanged="On" EnableViewState="true">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Code")%>: <%# DataBinder.Eval(Container.DataItem, "Description")%>
</ItemTemplate>
</ig:WebDropDown>
Hi Nikolay,
thanks for your answer. After checking the post you linked and some other, I found out that I must reassing also the SelectedItem on every post back, the databind is not sufficient. After setting the SelectedItem everything started working well.
Thanks for the assistance.
Hello elvandar,
I'm just checking if you need any further assistance with the matter.
Hi elvandar,
Please have a look at the following thread, discussing the same issue - http://community.infragistics.com/forums/t/30183.aspx.
If you have any questions, do not hesitate to ask.