I am trying to get the datavaluefields from the AutoCompleteBox entries and the values are always empty. The text has the text in them but nothing in the value field.
This is the code to make the autocompletebox:
<asp:SqlDataSource ID="sdsApplications" runat="server" ConnectionString="<%$ ConnectionStrings:ConfiguratorConnection %>" SelectCommand="SELECT Id, Name FROM tblValues" DataSourceMode="DataReader"></asp:SqlDataSource>
<div class="form-group row label-floating">
<asp:Label ID="lblApplications" runat="server" CssClass="control-label" AssociatedControlID="racApplications" style="margin-top:0;z-index:99999;">Applications</asp:Label>
<telerik:RadAutoCompleteBox RenderMode="Lightweight" ID="racApplications" runat="server" Skin="Bootstrap"
DataSourceID="sdsApplications" DataTextField="Name" DataValueField="Id" EmptyMessage="Select applications to include"
AllowCustomEntry="False" MaxResultCount="50" DropDownHeight="900px">
</telerik:RadAutoCompleteBox>
I have never been able to get the values out of the entries on the server side. Can anyone offer a resolution?
Thanks,
David