Add validation toDropDownList

Hi Guys

Can you tell me how to add Validation to true and validation message
property to :

@Html.EJ().DropDownList("Industry").CssClass("edmund").Datasource((IEnumerable<object>)TempData["DropDownSource"]).WatermarkText("Select Industry").Width("170").ClientSideEvents(ev => ev.Create("change")).Height("34").ShowRoundedCorner(true)

Thanks

Edmund Herbert

2 Replies

SS Saranya Sivakumar Syncfusion Team July 21, 2015 12:02 PM UTC

Hi Edmund,

We were able to reproduce the problem (Checkbox value gets posted even if it is unchecked in unobtrusive enabled state) and we have logged a report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,

Saranya.S



SS Saranya Sivakumar Syncfusion Team July 21, 2015 12:06 PM UTC

Hi Edmund,

Thanks for using Syncfusion products.

Kindly ignore the previous response.

We are facing some issue while setting ValidationRule and ValidationMessage in our sample and we have logged a report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,

Saranya.S

 


Loader.
Up arrow icon