Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
string language = ddl.SelectedItem.Value; // Value could be "sv", "en" ect. PageData startPageCurrentLanguage = DataFactory.Instance.GetPage(EPiServer.Core.PageReference.StartPage); PageData startPageNewLanguage = DataFactory.Instance.GetPage(EPiServer.Core.PageReference.StartPage, new LanguageSelector(language)); Response.Redirect(startPageNewLanguage.LinkURL);
Problem is that startPageNewLanguage have the same LinkUrl as startPageCurrentLanguage!!? help.