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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 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"

  • @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.

  • @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 ปีที่แล้ว

      th-cam.com/video/AYGHhFG4qV8/w-d-xo.html

  • @priyat6197
    @priyat6197 3 ปีที่แล้ว

    Superb Tutorial. Very helpful. Thanks a ton.

  • @seljmov
    @seljmov 3 ปีที่แล้ว +1

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

  • @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

  • @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?

  • @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?

  • @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?

  • @Szegedish
    @Szegedish 3 ปีที่แล้ว +1

    Thank you, this video is saved my life.

  • @ІлляБезуглий-т2з
    @ІлляБезуглий-т2з 4 ปีที่แล้ว +2

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

  • @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

  • @payaljain8408
    @payaljain8408 3 ปีที่แล้ว +1

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

  • @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

  • @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.

  • @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

  • @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

  • @arjunwalmiki1563
    @arjunwalmiki1563 2 ปีที่แล้ว

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

  • @ramanathans7305
    @ramanathans7305 4 ปีที่แล้ว

    Super

  • @aikidoshi007
    @aikidoshi007 3 ปีที่แล้ว

    Very nice, thanks!

  • @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

  • @melihhopa2684
    @melihhopa2684 ปีที่แล้ว

    thanks

  • @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

  • @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

  • @sarasaeed7156
    @sarasaeed7156 2 ปีที่แล้ว

    how to validate this modal?

  • @ongpytran4552
    @ongpytran4552 4 ปีที่แล้ว

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

  • @kaz-ittraininghub9388
    @kaz-ittraininghub9388 3 ปีที่แล้ว

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

  • @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

  • @DarshilCodez7828
    @DarshilCodez7828 ปีที่แล้ว

    Not work create button plz help

  • @justdebugdotnet6103
    @justdebugdotnet6103 4 ปีที่แล้ว

    I don't see form validation in your form.

  • @bryantbaldallaque814
    @bryantbaldallaque814 4 ปีที่แล้ว

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

  • @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

  • @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

  • @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