Hi, I have a RadGrid with a text box called "Cause" where users can input whatever "Cause they wish.
Now I want to restrict inout by using a Dropdown,
<telerik:GridTemplateColumn DataField="Cause" HeaderText="Cause" UniqueName="Cause"> <ItemTemplate> <%# Eval("Cause") %> </ItemTemplate> <EditItemTemplate> <telerik:RadDropDownList RenderMode="Lightweight" runat="server" ID="RadDropDownList1" DataTextField="Cause" DataValueField="Id" SelectedText='<%#Bind("Cause")%>' DataSourceID="sqlDSOutOfStockTest"> </telerik:RadDropDownList> </EditItemTemplate> </telerik:GridTemplateColumn>The only thing not working is that when I try to edit an existing record the Dropdown shows the first record in the Dropdown list , not the actual value I chose. What is it that I am not doing right?
I'm using VB.
