🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.
AI OnAI Off
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