Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I would like to return the user to a certain anchor but my querystring keeps getting encoded. So I'm doing this
return RedirectToCurrentUmbracoPage($"?success={success.ToString().ToLower()}"+"#sentletter");
with the goal of returning
?success=true#sentletter
but it sends back
?success=true%23sentletter
I tried several encodings and decodings but it doesn't seem to do anything
thanks
I had the same issue. I replaced this:
return RedirectToCurrentUmbracoPage();
With this:
var url = CurrentPage.Url + "#MyElementId"; return Redirect(url);
I haven't tested it thoroughly, but it seems to be working.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco query string anchor link
I would like to return the user to a certain anchor but my querystring keeps getting encoded. So I'm doing this
with the goal of returning
but it sends back
I tried several encodings and decodings but it doesn't seem to do anything
thanks
I had the same issue. I replaced this:
With this:
I haven't tested it thoroughly, but it seems to be working.
is working on a reply...