Hey there,
i am using some controls which i want to validate with some particular properties.My controls to validate are-
1) txtName -- it should take only alphabets,limit should be upto 40 and is mandatory.
2) txtAddress -- should tale all characters,mandatory and limit 100.
3) txtPhone - should take only integers,No Space and limit 12.
4) ddlSearchItems -- item must be selected(>0) and mandatory.
5) txtQuantity -- should take only integers,mandatory,No Space and limit upto 4 and mandatory.
6) btnSubmit -- should be disabled if datatable(dtValues.rows.count <= null) is null,else enabled.
Thanks
Amit