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
Mohamed HM Hadj Mokhtar
NA
177
2.4k
i can't enter the number 0.5 price, don't validate in mvc5
Feb 4 2019 12:39 PM
in textbox I can't enter the number 0.8 price I tried this attributes, But the same problem and show me a message The value '0.8' is not valid for Price.
[Required]
[Display(Name = "Price")]
[Range(0.002, 9999.99)]
[DataType(DataType.Currency)]
public decimal Price { get; set; }
@Html.EditorFor(model => model.Product, new { htmlAttributes = new { @type = "number" ,@class = "form-control", @min = "0.00" }
Reply
Answers (
6
)
how to create a registration profile in asp.net
Asp.net Confirm Box