Base solution for your next web application
Open Closed

Success message (toastr) with return from mvc controller #1178


User avatar
0
dimiszk created

Hello,

is there a way to return a toastr message after a successfuly return from mvc controller action? I don't want to use json result because the return is actionresult.

Thanks


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Why don't you use document ready event of jquery on your view ?

  • User Avatar
    0
    guillaumej created

    on a regular asp.net mvc project, I used this successfully : <a class="postlink" href="https://www.nuget.org/packages/RedWillow.MvcToastrFlash/">https://www.nuget.org/packages/RedWillo ... astrFlash/</a>