question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Critical Issue!!! Model validation errors are not shown to user from kendo grid

See original GitHub issue

Hi dear @hikalkan , @ismcagdas , @yekalkan , @alirizaadiyahsi ,

I got stuck up on a critical issue! Currently I am migrating my normal MVC DB first solution to ABP (#4234). It is almost completed and running successfully about 90%. I am using Kendo UI for ASP.NET MVC in my application. The problem is, the model validation errors are not shown to the users. I tried with [DontWrapResult], implemented the ICustomValidate interface and thrown a UserFriendlyException from the AddValidationErrors() method itself (I don’t think its needed, but just for testing).

Also thrown a dummy UserFriendlyException from the controller too. Unfortunately, nothing is shown up. The Kendo itself having an error handler. I received the return like this:

error in kendo

I was running my application with <customErrors mode="On"/>. When I inspected through the xhr.responseText after setting <customErrors mode="Off"/> i can see the error [AbpValidationException: Method arguments are not valid! See ValidationErrors for details.] and stack trace.

Don’t know what is happening. without this I cannot release my application. Please help me urgently.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sayassykcommented, Mar 17, 2019

Hi, I Solved it myself. The method attribute [DisableValidation] made my day!!

Thank you @sajasbana for your kind consideration. 🤗

0reactions
sayassykcommented, Mar 28, 2019

Hi, @bbakermmc Thanks for your reply. I will work on this and let you know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Popup Editor validation issue in Kendo UI for jQuery
The issue occurs because the validation is hooked up to the model set event. That is because the validation is intended to prevent...
Read more >
How to catch client side jQuery validation errors for Kendo ...
The client side validation error seems to be not triggered the datasource error event. How can I write a handler to iterate in...
Read more >
Untitled
Kendo grid validation message not showing Web4 hours ago · The system I am ... The problem is, the model validation errors are...
Read more >
Kendo Validation Message Position
Kendo UI validation message breaks bootstrap layout The Overflow Blog ... collect user information which is designed – Kendo UI validator error message...
Read more >
Validating User Input in ASP.NET Web Pages (Razor) Sites
This article discusses how to validate information you get from users — that is, to make sure that users enter valid information in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found