Hi, I wanted to clear the validation errors if I clicked the Create Button.
Because if I click the Close Button or The Black Shadow(Accidentally close the modal) behinds the Modal within the state of "Errors" in validation, if I click the create button again, the errors will still show, which should be removed as I am clicking back "Create" button.
Please check this link below as reference, the only thing I wanted to do is everytime i click Create Button, the partial view must clear all errors even it was from the previous transaction because sometimes I accidentally drop the modal. Thanks in Advance.
https://qawithexperts.com/article/asp.net/validate-pop-up-modal-using-ajaxbeginform-in-c-mvc/52 ...(Make this as reference)
...How to dynamically create a textbox in asp.net c# on button click, according to user input value?
...Do i need Service Layer? From my point of view/understanding.
Presentation Layer = UI
Business Logic Layer = Domain/Entities, Interface and (should DTO resides here)?
Data Access Layer = Implementation of Repository Pattern, CRUD.
Service Layer = ???
If the BLL has Domain/Entities? what layer does business validation belongs to?
From what i know and searched. Entites and DTO is plain.
...
How to do autologin in MVC and which is the best method to securely save Cookies in asp.net MVC?
please help
...I am trying to submit the form in ASP.NET MVC by updating a value of checkbox, but checkbox is not posting updated value to the C# Controller and posting null value, here is my razor code
...