Dear friends,
I have a probelem regarding validation on my ASPX form.
All the controls used are server side (runat=server attribute)
I have used RequiredFieldValidator to check empty fields.At the same time i have aslo used a javascrript on Button click(Butoon is also server side control)
to call the function of javascript i have used somethig like this under page_load event
problem now is this if my Javascript function return TRUE my form is submited without calling my required field validators.Code:btnInsert.Attributes.Add("OnClick","return check();");
any suggestion .




Reply With Quote