London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
UrlBuilder url = new UrlBuilder((UriSupport.AddQueryString(CurrentPage.LinkURL, "somepage", val));
when I compiled but this was not the problem.
Regards
Daniel
protected string GetSomePageURL(string val) { UrlBuilder url = new UrlBuilder((UriSupport.AddQueryString(CurrentPage.LinkURL, "somepage", val)); EPiServer.Global.UrlRewriteProvider.ConvertToExternal(url, CurrentPage.PageLink, System.Text.UTF8Encoding.UTF8); return url.ToString(); }
The URLs seems to render correctly with both providers. But with the FriendlyUrl-provider something seems strange with the parameters, it's like something is being cached. My URL is as follows: http://address/some-page/?somepage=overview and I simply output the parameter to a literal on the page and when clicking around on my links in the usercontrol it takes a while before the correct parameter is put through. Do you havfe any idea what the cause of this could be? Best Regards Daniel Öhgren