I am attempting to add a CustomValidator to a control in an EditItemTemplate, but cannot figure out how to get the values of the two objects involved in the OnServerValidate event. Have googled for information half a day with no success.
Based on a value entered in a TextBox with validation, I need to determine if a value exists in a RadDatePicker inside all within an EditItemTemplate. (edit mode)
Thanks,
SteveO...
Based on a value entered in a TextBox with validation, I need to determine if a value exists in a RadDatePicker inside all within an EditItemTemplate. (edit mode)
Thanks,
SteveO...
<EditItemTemplate>
<asp:TextBox ID="nextact" runat="server" onclick="javascript:HighlightRow(this);" Text='<%# Bind("NextAct")%>' Width="20px" Style="text-transform:uppercase" ></asp:TextBox>
<asp:CustomValidator ID="CustomValidator2" runat="server" ErrorMessage="Next Act Date required" OnServerValidate="NextActDate_Validate" Display="Dynamic" > </asp:CustomValidator>
</EditItemTemplate>