Hi, I have added a custom Language Selector dropdown in Kentico website. On selecting language from that dropdown, content pages are not getting refreshed. what method should I call to refresh the content page from code behind (C#).
Thanks Manju
Did you add AutoPostBack="true" attribute to your dropdown?
Yes. Page is getting refreshed but not items in header and footer which are different webparts in same content page.
Stupid question potentially, but is the Ajax panel option off?
Once the language is switched, simply do a Response.Redirect(CurrentDocument.NodeAliasPath) and it will reload that page you are currently on.
Please, sign in to be able to submit a new answer.