-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@nabinked I have a similar problem. using 6.0.2 in netcoreapp3.1 razor pages project #122
Comments
same issue I am also getting, |
I got the same issue doesn't generate the _content/NToastNotify/toastr.js folder and file |
Hello, I am running into this same issue with a project I recently upgraded to .NET Core 3.1. If manually copying the toastr.js file structure to the wwwroot folder works, I'm OK with that. Where can I find the file and structure to copy? Is that in the nuget package source somewhere? Thanks, |
Sorry Guys. I have not been able to find time to look at this. Will try to fix this issue tonight. |
Can I get a simple repro for this issue if possible ? |
Can you guys upgrade to the latest please ? |
Also note that You have to Accept the Cookie policy for Post-Redirect to work. Since by default the aspnet uses CookieTempDataProvider which is used by the library to show toasts. |
@nabinked I have a similar problem. using 6.0.2 in netcoreapp3.1 razor pages project
I had to manually put _content/NToastNotify/toastr.js as otherwise, I got 404 error when the viewcomponent for ntoastnotify was trying to do ntoastnotify.init.
So with the above in mind, I got the onGet to add a toast message and then it shows on page load. However, when I add a toast onPost, it fails to show the toast on the next page, as it used to when I used netcoreapp2.2 with an older version of NToastNotify nuget package.
Please let me know if you know what the issue could be.
Originally posted by @talksik in #84 (comment)
The text was updated successfully, but these errors were encountered: