1jaws
asked on
formview combobox problem
here the thing happening on my formview.. I have a country field that I have a code for the Item template this
<td >
Country:<br />
<asp:TextBox runat="server" ID="txtCountry" ReadOnly="true"
Text='<%#Bind("countryName ") %>' />
</td>
and for the editTemplate same thing gets combo box for users to select from countries
<td >
Country:<br />
<telerik:RadComboBox ID="cbCountry" runat="server"
DataSourceID="dsCountry" DataTextField="Country"
DataValueField="CountryCod e">
</telerik:RadComboBox>
</td>
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?
<td >
Country:<br />
<asp:TextBox runat="server" ID="txtCountry" ReadOnly="true"
Text='<%#Bind("countryName
</td>
and for the editTemplate same thing gets combo box for users to select from countries
<td >
Country:<br />
<telerik:RadComboBox ID="cbCountry" runat="server"
DataSourceID="dsCountry" DataTextField="Country"
DataValueField="CountryCod
</telerik:RadComboBox>
</td>
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it is not a solution just the thank you both for effort
ASKER