How To Add Toast Notification in ASP.NET MVC

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 14

  • @Australia379
    @Australia379 4 місяці тому +1

    Well done for the job. Thank you for Tutorial

  • @Appul_0
    @Appul_0 Рік тому +1

    Hi @Didital TechJoint
    i have a question that my controller interface is different from you i am working on another project so can you tell ne exactly where should i have to add the TempData message

  • @DMC3586
    @DMC3586 2 місяці тому +1

    Great one! Thank you

  • @jmoney2513
    @jmoney2513 5 місяців тому +1

    thank your sir its work

  • @VladimirKorotkikh
    @VladimirKorotkikh Рік тому +1

    That was very useful, thanks!

  • @gafatufa4675
    @gafatufa4675 10 місяців тому

    U can also just put in your Layout File. It will be available everywhere.

  • @ALIhamza-oq8en
    @ALIhamza-oq8en Рік тому +1

    bro the video is informative and helps me alot but the notification shows up on the right side of the page i want this in the top centre of the page how i can do it?

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

      Hi, You can change the setting to display the notification in center. Check out the demo page of ToastrJS framework ( I have shown that in this video). You will be able to see the javascript snippet in the demo page . Copy that and paste in your code. Refer the link codeseven.github.io/toastr/demo.html (JS code is displayed in this page ) . Hope this helps. Thanks

    • @ALIhamza-oq8en
      @ALIhamza-oq8en Рік тому

      @@DigitalTECHJOINT Thanks for response im working on it lets see

    • @shubhamghumare3311
      @shubhamghumare3311 11 місяців тому

      @@DigitalTECHJOINT toastr.options = {
      "closeButton": false,
      "debug": false,
      "newestOnTop": false,
      "progressBar": false,
      "positionClass": "toast-top-center",
      "preventDuplicates": false,
      "onclick": null,
      "showDuration": "300",
      "hideDuration": "1000",
      "timeOut": "5000",
      "extendedTimeOut": "1000",
      "showEasing": "swing",
      "hideEasing": "linear",
      "showMethod": "fadeIn",
      "hideMethod": "fadeOut"
      } can you tell me where to put this code

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

    Đang đi kiếm cái demo này đây ^^

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

    toastr.options = {
    "closeButton": false,
    "debug": false,
    "newestOnTop": false,
    "progressBar": false,
    "positionClass": "toast-top-right",
    "preventDuplicates": false,
    "onclick": null,
    "showDuration": "300",
    "hideDuration": "1000",
    "timeOut": "5000",
    "extendedTimeOut": "1000",
    "showEasing": "swing",
    "hideEasing": "linear",
    "showMethod": "fadeIn",
    "hideMethod": "fadeOut"
    } where i put this code .. please tell me anyone ...Thank you

    • @14.truonghoangha71
      @14.truonghoangha71 4 місяці тому

      If you're still having trouble 😄, simply paste your option right before calling the toast. Example:
      //your option
      toastr.success("Have a good day")