asifakhtar
02-03-2009, 10:47 PM
I have an asp:DropDownListlist(ddlProperty) with values(Building 1,Not a Tenant) and I have an asp:TextBox(txtApartment) and I have an asp:CheckBoxList(cblRoles) with values( Admin, Tenant, Painter).
I need a ClientValidationFunction for the following suitations.
Suitation 1:When I select "Building 1" from ddlProperty the ClientValidationFunction should check whether there is a numeric value in txtApartment and "Tenant" is checked in cblRoles, if not then it should fail the args.IsValid = false;
Suitation 1: When I select "Not a Tenant" from ddlProperty the ClientValidationFunction should check whether there is "N/A" value in txtApartment and "Tenant" is not checked in cblRoles, if not then it should fail the args.IsValid = false;
I need a ClientValidationFunction for the following suitations.
Suitation 1:When I select "Building 1" from ddlProperty the ClientValidationFunction should check whether there is a numeric value in txtApartment and "Tenant" is checked in cblRoles, if not then it should fail the args.IsValid = false;
Suitation 1: When I select "Not a Tenant" from ddlProperty the ClientValidationFunction should check whether there is "N/A" value in txtApartment and "Tenant" is not checked in cblRoles, if not then it should fail the args.IsValid = false;