Hi all,
I Curretnly have a detailsview with two template fields that contains on premise and off premise work hours. I need to create a validation that check to make sure only one of the fields is > 0. If both are greater than 0, the validation should be false and bounce back to the user. I have attached my attempts so far but i'm not quite sure how to proceed properly.
My aspx source of the details view:
<asp:TemplateField HeaderText=" Hours (ON/OFF)" SortExpression="Labor_Premise_Hours">
<ItemTemplate>
<asp:Label ID="OnPremiseLabel" runat="server" Go to the complete details ...