We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Validate DropDownList in Grid

I add scripts jquery.validate.js and jquery.validate.unobtrusive.js for validate grid when i add or edit row.
First on create new record or edit i recibe this window.
next trying validate columns, with textbox is ok but how validate dropdownlist

2 Replies

TO Tomasz August 8, 2017 02:55 PM UTC

The first problem is resolved, removing jquery.validate.unobtrusive.js error window disapear.

But How to validate DropdownList i dont know

<ej:Column DataType="number" Field="RoomTypeId" EditType="Dropdown" ForeignKeyField="value" ForeignKeyValue="text" DefaultValue="1">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
</ValidationRule>
</ej:Column>




MS Mani Sankar Durai Syncfusion Team August 9, 2017 12:06 PM UTC

HI Tomasz, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and we are able to reproduce the reported issue. Since it is an already known issue and the fix for this issue will be available on the latest Syncfusion Essential studio version 15.3.0.26. So we suggest you to upgrade to the latest version 15.3.0.26 and the same can be available from the below link. 

Please let us know if you need further assistance. 

Regards, 
Manisankar Durai. 


Loader.
Up arrow icon