A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hello,
I have a problem with my webmethod using an episerver PageTemplate.
If I browse the page localhost/Views/Pages/myPage.aspx and from this page click the button to execute my c# method it works properly.
However, if I browse the page localhost/en/myfriendlyurl and click the same button, the post return a 404 page not found error.
Below my code:
in myPage.aspx i enabled the pageMethod
and add the script
The backend code I added the WebMethod attr.
What's wrong?