You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey all, slowly moving to Serenity 8, but having some issues (not related to serenity itself but aspnetCore) but related to changes on how to between 3.x and 8.x.
In former version i had cshtml pages holding action links to open pages:
ex : <div class="col-lg-3 col-sm-6" onclick="location.href='@Url.Action("", "AdmAuditLog")';" style="cursor: pointer;">
I cannot make it work, redirection not working (controller is existing and accessed when i set the url on browser).
Pretty certain it's not complex to do but lost in finding a solution.
What is the recommended way of doing this ? (i guess it has to do with Area thing)
EDIT: made it work using @url.Content("~/Administration/AdmAuditLog") but does not sound like clean solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hey all, slowly moving to Serenity 8, but having some issues (not related to serenity itself but aspnetCore) but related to changes on how to between 3.x and 8.x.
In former version i had cshtml pages holding action links to open pages:
ex :
<div class="col-lg-3 col-sm-6" onclick="location.href='@Url.Action("", "AdmAuditLog")';" style="cursor: pointer;">
I cannot make it work, redirection not working (controller is existing and accessed when i set the url on browser).
Pretty certain it's not complex to do but lost in finding a solution.
What is the recommended way of doing this ? (i guess it has to do with Area thing)
EDIT: made it work using @url.Content("~/Administration/AdmAuditLog") but does not sound like clean solution.
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions