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
Hi all,
I'm currently having a smll issue with url encoding with custom node url. I want to add a url which contains an "?". If I use it directly in my string it gets encoded and thus the url is wrong and my angular breaks.
Here is what I currently have:
CreateTreeNode("ne-" + id.Replace("c-", ""), id, queryStrings, textService.Localize("EventCalendar/tree_normalEvents", CultureInfo.CurrentCulture), "icon-music", false, FormDataCollectionExtensions.GetValue<string>(queryStrings, "application") + StringExtensions.EnsureStartsWith(this.TreeAlias, '/') + "/overviewEvents/" + id.Replace("c-", "") + "?" + DateTime.Now.Ticks)
I also tried to use HttpUtility.UrlEncode() to pre encode the "?" but that doesn't do the trick.
Any suggestions?
Thanks in advance,
David
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Custom node url encoding
Hi all,
I'm currently having a smll issue with url encoding with custom node url. I want to add a url which contains an "?". If I use it directly in my string it gets encoded and thus the url is wrong and my angular breaks.
Here is what I currently have:
I also tried to use HttpUtility.UrlEncode() to pre encode the "?" but that doesn't do the trick.
Any suggestions?
Thanks in advance,
David
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.