|
-
Oct 20th, 2004, 01:28 AM
#1
Thread Starter
Lively Member
Page Validation Not happening
im using <asp:RequiredFieldValidator../> control to verify the text field entry and also using
pbok.Attributes.Add("onclick", "JavaScript:return(DateValidate());") to my submit button.
Actually i want to verify the date Field text box should not be empty and it should be a
valid date(custom format). So im using Javascript validation for Onclick event of submit Button.
this is not happens in my coding. why?
How to implement this task in my asp.net page?
v.r.mahendran
-
Oct 20th, 2004, 05:52 PM
#2
Banned
How do you validate?
Did you do a
If Page.Isvalid then
'do something
else
'do something else
end if
Also make sure your button property causes validation.
Jon
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
|