Skip to content
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

6.0.2 - Razor Pages Project - OnGet works but OnPost doesn't show it on redirect #117

Closed
talksik opened this issue Mar 20, 2020 · 1 comment

Comments

@talksik
Copy link

talksik commented Mar 20, 2020

@nabinked I have a similar problem. using 6.0.2 in netcoreapp3.1 razor pages project

image

image

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.

image

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)

@nabinked
Copy link
Owner

duplicated by #122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants