Save Data using Modal Pop Up in ASP.NET CORE WITH BootStrap JQuery

Поділитися
Вставка
  • Опубліковано 15 лис 2024

КОМЕНТАРІ • 67

  • @andreaspanayides306
    @andreaspanayides306 2 роки тому +3

    Bootstrap 5. If the close button is not working then use data-bs-dismiss="modal" instead of data-dismiss="modal". Also, if the submit button is not working then use form action="Employees/Create" in your _employeeModalPartial instead of form action="Create"

  • @seljmov
    @seljmov 3 роки тому +1

    Thank you very much for the video lesson, friend! You're amazing!

  • @priyat6197
    @priyat6197 2 роки тому

    Superb Tutorial. Very helpful. Thanks a ton.

  • @Szegedish
    @Szegedish 3 роки тому +1

    Thank you, this video is saved my life.

  • @kaz-ittraininghub9388
    @kaz-ittraininghub9388 3 роки тому +3

    I need to view whole playlist of this course.. could you please share the link to follow this playlist.

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  3 роки тому

      ua-cam.com/video/AYGHhFG4qV8/v-deo.html

  • @harrynewman1744
    @harrynewman1744 2 роки тому +1

    Im having some problems with this. On a dynamic page every time the modal is hidden it is not removed. So if you had a model for an edit button and you opened an edit modal for multiple items on the page there are now multiple hidden modal popups on the page which is not good.

  • @kimchi3872
    @kimchi3872 2 роки тому +4

    This does not work with bootstrap 5. I got the close to work by changing data-dismiss to data-bs-dismiss but I now cannot get the save to work. How would you change it to work with Bootstrap 5?

    • @muhammedsonmez
      @muhammedsonmez 2 роки тому

      Hi Kimchi, did you find the solution to the problem

    • @ryanb8999
      @ryanb8999 2 роки тому

      Beating my head against the wall trying to get modal pop with partial view to work - did you figure this out by chance?

  • @ІлляБезуглий-т2з
    @ІлляБезуглий-т2з 4 роки тому +2

    Thank you for the video. Do you know, how can i pass some data, in to the modal form?

  • @jp2code
    @jp2code Рік тому

    Nice one. Is there any follow-up to get the parent to display the data automatically instead of having to refresh?

    • @may910
      @may910 11 місяців тому +1

      I have the same issue as to why the page is not refreshing automatically. Does anyone have a solution

  • @oscartzr
    @oscartzr 4 роки тому +1

    Hi! The get is launched and the partial html is placed in the right div, but in the last step, on the modal('show'), is doing nothing on my side. Any idea?

  • @games5fun
    @games5fun 4 роки тому +2

    Great tutorial and thanks for all your hard work .. after spending almost 2 hours searching for a solution to my problem, I couldn't find it yet. The problem is with the httppost (save button) .. the modal appear and when clicking save it doesn't find the action in the controller and keeps giving 404. I even updated the jquery.js just in case but that didn't help either. is it something related to server configuration ?

    • @games5fun
      @games5fun 4 роки тому +5

      Ok after spending some time learning simple jQuery and some form related syntaxes, I found that the problem was in the partial view form where you added I had to change it to .. this worked fine for me

    • @chetantherala
      @chetantherala 4 роки тому

      @@games5fun Thank You Kamal

  • @codigostuto1400
    @codigostuto1400 2 роки тому +1

    Banda este método SI SIRVE. solamente que en la vista parcial deben de utilizar el MODAL DE BOOSTRAP actualizado. Ósea Deacorde a la versión que tienen en su proyecto.

  • @payaljain8408
    @payaljain8408 3 роки тому +1

    its not showing model pop up for my code..I have placed the partial view in shared folder

  • @chezchezchezchez
    @chezchezchezchez 4 роки тому +1

    Wow! Love the result. But DAMN that's complex!

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  4 роки тому +2

      yeah but if you try then easy to understand

  • @moonch1ld713
    @moonch1ld713 2 роки тому

    Hello. I'm trying to make a modal as in video. But when I click on the button, a new tab opens with my view. What could be the problem?

  • @MrAkhilpramod
    @MrAkhilpramod Рік тому

    It is Not working for me .. if i have areas . and it works if i Dont have area .... Can you please help me with a work around

  • @rurumx
    @rurumx 2 роки тому

    Good tutorial, congratulations! but it will continue to be a half contribution as long as you do not also include the code to download

  • @karunakamble7277
    @karunakamble7277 2 роки тому

    Sir,what if we don't get that modal in the intellisense.

  • @ynckaya
    @ynckaya 2 роки тому

    Thanks for this lesson but "button[data-toggle="ajax-modal"].click" is not working. I had to put id parameter instead of this

  • @aikidoshi007
    @aikidoshi007 3 роки тому

    Very nice, thanks!

  • @arjunwalmiki1563
    @arjunwalmiki1563 2 роки тому

    Hello, I want to save the file with some data can you postcode ?

  • @muhammedsonmez
    @muhammedsonmez 2 роки тому +1

    This does not working Bootstrap5 Who is find the solution to the problem

  • @bittinker1835
    @bittinker1835 4 роки тому

    Why is it that the validation is not working?

  • @premkantmishrastories9265
    @premkantmishrastories9265 4 роки тому

    Great dear my love to you

  • @dreamerzain
    @dreamerzain 3 роки тому

    HI Really nice video, I am having one small issue. I can save the record but the table is not getting auto updated. I have to refresh. Have i missed anything please help

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  3 роки тому

      you can call the ajax request

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  3 роки тому

      Otherwise you can add header information like refresh

  • @bryantbaldallaque814
    @bryantbaldallaque814 4 роки тому

    Hello, you can do how make a smart wizard and diferent entities with core 3.1???

  • @BryantStewart
    @BryantStewart 4 роки тому +1

    It doesn't work ... when I click the button does nothing .... check everything and it's the same as yours

    • @vib1336
      @vib1336 4 роки тому

      Include the js file in the Layout.cs

    • @ahsanzia1755
      @ahsanzia1755 2 роки тому

      @@vib1336 Still not working, Im using VS2022, ASP.NET Core 6

  • @ongpytran4552
    @ongpytran4552 4 роки тому

    sir i want to auto reload record after save it, how can i do it?

  • @melihhopa2684
    @melihhopa2684 Рік тому

    thanks

  • @justdebugdotnet6103
    @justdebugdotnet6103 4 роки тому

    I don't see form validation in your form.

  • @sarasaeed7156
    @sarasaeed7156 2 роки тому

    how to validate this modal?

  • @ramanathans7305
    @ramanathans7305 4 роки тому

    Super

  • @kaz-ittraininghub9388
    @kaz-ittraininghub9388 3 роки тому

    i followed this video, but popup is opening.. please tell me is there any scripting needs to include.

  • @DarshilCodez7828
    @DarshilCodez7828 Рік тому

    Not work create button plz help

  • @atech369
    @atech369 4 роки тому +1

    Please decsibe the things little bit slowly..

    • @sergbo3114
      @sergbo3114 4 роки тому +1

      you can select x0.25 speed in youtube player.

  • @ldmrgrc
    @ldmrgrc 3 роки тому +1

    Please do one with validation

  • @Jose-mz4ox
    @Jose-mz4ox 3 роки тому

    I got this error.
    Failed to load resource: the server responded with a status of 500 ()
    Please Help!!

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  3 роки тому

      can you send me the source code as well as screen shot on my mail id : onetarun@outlook.com

  • @olddream550
    @olddream550 2 роки тому

    everytime I open the modal it will duplicate my table

  • @ranasohel8645
    @ranasohel8645 4 роки тому

    I got this error.
    Failed to load resource: the server responded with a status of 404 Create:1
    Would you please help me about this issue

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  4 роки тому

      can you debug your code

    • @ranasohel8645
      @ranasohel8645 4 роки тому +1

      @@ASPNETMVCCORE no. how much i can that was the message

    • @ranasohel8645
      @ranasohel8645 4 роки тому +1

      @@ASPNETMVCCORE Failed to load resource: the server responded with a status of 500.

  • @kaungsan3416
    @kaungsan3416 3 роки тому

    It's not work Save Button in my code !

  • @manduh2024
    @manduh2024 3 роки тому

    asp-validation-for not working

  • @AnilKumar-wy5tq
    @AnilKumar-wy5tq 2 роки тому

    not working with bootstrap 5!!!!!!

    • @muhammedsonmez
      @muhammedsonmez 2 роки тому

      Hi Anil Hi Kimchi, did you find the solution to the problem

  • @shikeshmaharjan
    @shikeshmaharjan 4 роки тому +1

    should have provided link to download code rather than watching the whole video.

  • @jayakumar2927
    @jayakumar2927 2 роки тому

    github