Hi,
I want to display Custom Validation message for Kendo File upload control used in my ASp.Net MVC project. Currently, Kendo generates validation message using my model property and don't use [Required] attribute used for that property.
for example:
If my property is something like below:
[Display(Name = "Document: ")]
[Required(ErrorMessage = "Please Select Document to upload")]
public System.Web.HttpPostedFileBase UploadedFile { get; set; }
Then UI displays validation message like "UploadedFile is required." but I want to display message as "Please Select Document to upload"
Please suggest me a proper way to display my custom validation message.
I am using Kendo for MVC with version 2012.2.913.340
Thanks,
I want to display Custom Validation message for Kendo File upload control used in my ASp.Net MVC project. Currently, Kendo generates validation message using my model property and don't use [Required] attribute used for that property.
for example:
If my property is something like below:
[Display(Name = "Document: ")]
[Required(ErrorMessage = "Please Select Document to upload")]
public System.Web.HttpPostedFileBase UploadedFile { get; set; }
Then UI displays validation message like "UploadedFile is required." but I want to display message as "Please Select Document to upload"
Please suggest me a proper way to display my custom validation message.
I am using Kendo for MVC with version 2012.2.913.340
Thanks,