hi,i am writing a custom validator for the following scenario.
I have a textbox and 2 radio lists.If there is text entered in the textbox,i want to validate if either one of the radio lists is checked.
Server side validation looks as follows:
protected void Validate(object source, ServerValidateEventArgs args)
{
try
{
if ((txtEmp.Text != string.Empty) || (txtEmp.Text != ""))
{
if ((rdolPayMethod1.SelectedValue != null) || (rdolMethod2.SelectedValue ...
Go to the complete details ...