i have the following rad controls on my page.
<
rad:RadTextBox ID="txtOtherNames" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.OtherNames") %>'>
</rad:RadTextBox>
 
<
rad:RadComboBox ID="txtGender" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.Gender") %>' >
<Items>
<rad:RadComboBoxItem ID="RadComboBoxItem1" runat="server" Text="Male" Value="M" />
<rad:RadComboBoxItem ID="RadComboBoxItem2" runat="server" Text="Female" Value="F" />
</Items>
</rad:RadComboBox>
 
<
rad:RadDatePicker ID="txtDOB" runat="server" SelectedDate='<%# DataBinder.Eval(Container, "DataItem.Dob") %>'>
</rad:RadDatePicker>
<asp:RequiredFieldValidator ID="txtDOBValidator" runat="server" ControlToValidate="txtDOB"
Display="Dynamic" ErrorMessage="<div>Date expected</div>" />
<
rad:RadComboBox ID="txtGuardian" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.GuardianId") %>'>
</rad:RadComboBox>
The textbox and date picker work correctly ie. are binding but the comboboxes are not adjusting according to the records in the table.
What shld i use in the
='
<%# DataBinder.Eval(Container, "DataItem.GuardianId") %>' clause.
 
thnx so much
