i have radgrid which has two bound columns and two template columns with radcombobox in edititemtemplate ..i've given the items their itself with values ...values to them will be coming from database.....my problem is that they r showing values which r coming directly from database .with out showing their text.. .
EX:-in the rad grid display it is showing lvl1 instead of LEVEL1
Here is my code
<
telerik:RadGrid ID="grdCMS" runat="server" OnNeedDataSource="grdCMS_NeedDataSource"
AutoGenerateColumns="False" OnInsertCommand="grdCMS_Insert" OnItemCreated="grdCMS_ItemCreated"
OnItemDataBound="grdCMS_ItemDataBound" OnEditCommand="Editing"
OnDeleteCommand="grdCMS_Delete" OnItemCommand="grdCMS_ItemCommand" AllowSorting="true">
<MasterTableView CommandItemDisplay="Top" EditMode="InPlace" DataKeyNames="seqNo">
<Columns>
<telerik:GridEditCommandColumn UpdateText="Update" ButtonType="ImageButton" ></telerik:GridEditCommandColumn>
<telerik:GridDropDownColumn DataField="seqNo" ListTextField="seqNo" ListValueField="seqNo" ListDataMember="testcms"
UniqueName="seqNo" HeaderText="Sequence Number">
</telerik:GridDropDownColumn>
<telerik:GridBoundColumn DataField="lvlqtn" HeaderText="Levelling Question" UniqueName="lvlqtn" >
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblhdryes" Text="Level If Yes" runat="server"></asp:Label>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lbllvlyes" runat="server" Text='<%# Eval("lvlyes") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcblvlyes" runat="server" >
<Items>
<telerik:RadComboBoxItem Text="Level1" Value="lvl1" />
<telerik:RadComboBoxItem Text="Level2" Value="lvl2" />
<telerik:RadComboBoxItem Text="Level3" Value="lvl3" />
<telerik:RadComboBoxItem Text="Level4" Value="lvl4" />
</Items>
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblhdrlvlno" Text="Level If NO" runat="server"></asp:Label>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lbllvlno" runat="server" Text='<%# Eval("lvlno") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcblvlno" runat="server">
<Items>
<telerik:RadComboBoxItem Text="Level1" Value="lvl1" />
<telerik:RadComboBoxItem Text="Level2" Value="lvl2" />
<telerik:RadComboBoxItem Text="Level3" Value="lvl3" />
<telerik:RadComboBoxItem Text="Level4" Value="lvl4" />
</Items>
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridButtonColumn CommandName="Delete" Text="Delete"
ButtonType="ImageButton" ConfirmText="Do u Want to Delete the row" ConfirmTitle="Confirmation" ConfirmDialogType="RadWindow"></telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>