I am using FormTemplate to edit my records from the grid. I have a RadComboBox in which I am trying to set the SelectedValue for the edit record. I am getting this error " Selection out of range"
Below is the code I am using
<telerik:RadComboBox ID="ddlFixtureZone" runat="server" class="rightcolumn" EmptyMessage="Select" AppendDataBoundItems="true"
EnableLoadOnDemand="true" EnableVirtualScrolling="true" Width="400px" ShowMoreResultsBox="true" SelectedValue='<%# (Container as GridItem).OwnerTableView.IsItemInserted ? "" : Eval("MyID") %>'>
<WebServiceSettings Path="~/Services/MyServices.svc" Method="MyMethos" /></telerik:RadComboBox>
Any help is appreciated.
Thanks