TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Maharudra Gadekar
1.4k
367
81.6k
how to apply validation in html radio button control?
Nov 18 2016 12:37 AM
Hi,
I am using HTML 5 control in mvc view but i dont no how to set the required field validation....show below code....
<input type="radio" name="payment" value="C" @( this.Model.paymode == "C" ? "Checked" : "") />
<input type="radio" name="payment" value="O" @( this.Model.paymode == "O" ? "Checked" : "") />
@html.validationmessagefor(x=>x.paymode)
I am using code but not done. how to set validation of that control. Please help me.
thanks in advance
Reply
Answers (
1
)
Embedding Resources
unable to see whole page in print preview in google chrome