Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Alternative for c# attribute validation
Sathya
Dec 23 2017 12:48 PM
168
Reply
Server-side validation: Using [Required] attribute it's to validate the text field, but here, checkbox value decides the text fields should exist or not. So, if attributes used for validation, it throws an error.
It can be accomplished in client-side. But I have to validate this from server-side.
I came through preprocessor directives since it is simply hardcoded, It's not helpful.
how to validate text field based on condition (server-side)
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Find length of numeric value without converting into screen?
Print Preview Customization