Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


  1. Excellent article my friend. How can I do, if I want to show server error, for example email already exists in database?

  2. Work is awesome !!Keep it up
    Is it possible to post the same for Core MVC application rather than razor page application

  3. Excellent article.

    I am having trouble on the below:
    “Open up Package manage console and run the following command. Note that you have to set the Web Project as the default project and the Infrastructure project as the default project in the package manager tab.”

    Please provide more info. I am stuck.

    Thanks in advance.

  4. Hi
    Thanks this is a great tutorial!
    After deleting, inserting or updating the refresh of the DataTable goes back to start page and does not remember the position.
    Do you have any ideas how to implement that it stays on the page and keeps sorting?
    Thank you

  5. Work is awesome !!Keep it up
    Is it possible to post the same for Core MVC application rather than razor page application???????????????
    It would really be helpful to implement this idea in Core MVC application (.net 5).

  6. I am having a problem. I changed the schema to reflect a different database. Whenever the database is empty I can see the Search field, pagination, and number of entries drop down. However, when a new customer is created, it successfully adds it, but the search field, pagination, sorting, etc… all disappears. Any ideas what could be wrong?

    Thanks in advance from a novice 🙂

  7. Hi Mukesh,
    Thanks for this Blog. I just have a question: what if for example the company (in the CreateEdit partial view) is a dropdown list filled with items from a company table, how will you do it? Tried putting the SelectList in a ViewBag but it’s not working.
    Thanks in advance for the answer.


  8. Hi Mukesh Really nice article. Just wanted to know if i have to post all the data that are there in datatable for e.g. having a seperate Submit Button which post all the data present in the datatable. How should i proceed to achieve this functionality

  9. First of all, great article! Thank you 🙂

    I am try to adapt the logic to my MVC application where I don’t have IndexModel but a controller so I was wondering for example how to call a http method from the related controller to get back the partial view to be displayed in the pop-up.

    Best regards,

  10. Hi Mukesh,

    Thank you for the post.
    How can we work with dropdownlist. Like if the company is dropdownlist, how can we populate the options in that control.

    Ehasanul Hoque

  11. Great intro! Thank you very much for sharing!
    I have difficulties to understand the meaning of lines 58 – 59 in the index.html file. This is when the validation fails on the server side. You load it with the “_CreateOrEdit” partial view instead of “_ViewAll” but than there is no handling for that in the client side. Am I missing something?