|
-
Jun 30th, 2005, 07:59 AM
#1
Thread Starter
Lively Member
probelem regarding validation on my ASPX form.
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
Code:
btnInsert.Attributes.Add("OnClick","return check();");
problem now is this if my Javascript function return TRUE my form is submited without calling my required field validators.
any suggestion .
-
Jun 30th, 2005, 09:45 PM
#2
Thread Starter
Lively Member
Re: probelem regarding validation on my ASPX form.
No,One Replied to my Query.
Am I not clear in making my problem understand to u all???
-
Jul 1st, 2005, 01:00 AM
#3
Re: probelem regarding validation on my ASPX form.
Use a CustomValidatorControl and perform your javascript checks in there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|