This question is locked. New answers and comments are not allowed.
Hi,
I am using Telerik MVC grid in my MVC3 asp.net application. I am facing very weird issues while updation in grid row.
My Model has two strings fields.Noth fields are required if they satisfy some particular criteria..
My modelState error shows message even after error goes. This happens only if I have two strings in my model.
Scenario steps:
1) Provide no value to both the strings - Model state error would show correct errors. (two errors as both fields are required)
2) Provide value to one string and no value to other string - Model state error still shows two errors. Ideally It should get updated with one error only.
Please find attached the files for reference.
I am not sure what is wrong with my files. I have tried every possible solution.
Regards,
Khyati
I am using Telerik MVC grid in my MVC3 asp.net application. I am facing very weird issues while updation in grid row.
My Model has two strings fields.Noth fields are required if they satisfy some particular criteria..
My modelState error shows message even after error goes. This happens only if I have two strings in my model.
Scenario steps:
1) Provide no value to both the strings - Model state error would show correct errors. (two errors as both fields are required)
2) Provide value to one string and no value to other string - Model state error still shows two errors. Ideally It should get updated with one error only.
Please find attached the files for reference.
I am not sure what is wrong with my files. I have tried every possible solution.
Regards,
Khyati