I have 2 timepicker and a numeric text box in each grid cell. So as the user makes a selection on either of the Timepickers the , numeric txtbox is supposed to show the differences of the two selections. I need to to find a way to accomplish this behaviour. Any help is appreciated.
Heres my itemtemplate in the grid.
<ItemTemplate>
<table >
<tr>
<td align="center">
<asp:CheckBox ID="cb7" runat="server" />
<asp:Label ID="lb7" runat="server" />
</td>
</tr>
<tr>
<td align="left">
<telerik:RadTimePicker ID="txt_InD7" runat="server" Width="86"></telerik:RadTimePicker>
</td>
</tr>
<tr>
<td align="left">
<telerik:RadTimePicker ID="txt_OutD7" runat="server" Width="86"></telerik:RadTimePicker>
</td>
</tr>
<tr>
<td align="left">
<telerik:RadNumericTextBox ID ="txt_MinD7" runat="server" MaxLength="3" Width="54"></telerik:RadNumericTextBox>
<asp:CompareValidator ID="CompareValidator7" runat="server" ControlToCompare="txt_InD7" ControlToValidate="txt_OutD7" Operator="GreaterThan" ErrorMessage="*"></asp:CompareValidator>
</td>
</tr>
</table>
</ItemTemplate>
Heres my itemtemplate in the grid.
<ItemTemplate>
<table >
<tr>
<td align="center">
<asp:CheckBox ID="cb7" runat="server" />
<asp:Label ID="lb7" runat="server" />
</td>
</tr>
<tr>
<td align="left">
<telerik:RadTimePicker ID="txt_InD7" runat="server" Width="86"></telerik:RadTimePicker>
</td>
</tr>
<tr>
<td align="left">
<telerik:RadTimePicker ID="txt_OutD7" runat="server" Width="86"></telerik:RadTimePicker>
</td>
</tr>
<tr>
<td align="left">
<telerik:RadNumericTextBox ID ="txt_MinD7" runat="server" MaxLength="3" Width="54"></telerik:RadNumericTextBox>
<asp:CompareValidator ID="CompareValidator7" runat="server" ControlToCompare="txt_InD7" ControlToValidate="txt_OutD7" Operator="GreaterThan" ErrorMessage="*"></asp:CompareValidator>
</td>
</tr>
</table>
</ItemTemplate>