admin
-
3/8/2005 10:51:26 AM
Re: Multilingual problem
Hi Vedran,
Thank you for your message. Navigation controls (such as CMSMenu, CMSTreeMenu, etc.) render correct path automatically.
However, if you render the path in your code (e.g. in CMSRepeater) you need to use Functions.RemoveCultureFromPath(string path) method to remove the culture code from the path in custom generated links.
Example:
<a href='<%=ResolveUrl("~/.")%><%# WebProjectCS.Functions.RemoveCultureFromPath(DataBinder.Eval(Container.DataItem, "AliasPath")) %>'>Read more</a>
Should you need any help with that, please feel free to ask us.
Best Regards,
|