formview combobox problem
Posted on 2011-09-06
here the thing happening on my formview.. I have a country field that I have a code for the Item template this
<asp:TextBox runat="server" ID="txtCountry" ReadOnly="true"
Text='<%#Bind("countryName") %>' />
and for the editTemplate same thing gets combo box for users to select from countries
<telerik:RadComboBox ID="cbCountry" runat="server"
and update parameters I have this as a for the update sp..
<asp:Parameter Name="countryCode" Type="String" />
what happens is formview first loads gives me country name as United State on textbox.. Then on edit form, it shows my combobox and shows United States as a country, but than if I go back to textbox mode I see nothing under the country textbox.. why this happening dont know? any idea?