Just learning the ropes of validation - I've got a web form with two separate check box lists that require a check box to be selected in each and I can validate that with via the client or the server without too much hassle.
My problem is I want to remove redundancy and not be calling multiple methods or functions to do essentially the same task.. I'm just a little hazy on what I should change to make it happen - I know I probably should be sending something to the function/method
to tell it what checkbox list it's receiving but the (sender, args) that it passes automatically is confusing me as to how I should be passing the data.
Basically I want to validate both check box lists with one method and one function.
A little help would go a long way!
The ASP.Net code:
<asp:Label ID="lblSportsInterests" runat="server" Text="Please select at least one sport you are interested in: &qu ...
Go to the complete details ...