Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I used to do this in order to the culture of the page knowing the Id.
Domain.GetDomainsById(Page.Id)[0].Language
but umbraco.cms.businesslogic.web.Domain is now deprecated
Anyone with any ideas?
Sorry but did you try
Domain.GetDomainsById(Page.Id)[0].Language.CultureAlias
?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using the IDomainService to check page culture knowing the id
I used to do this in order to the culture of the page knowing the Id.
Domain.GetDomainsById(Page.Id)[0].Language
but umbraco.cms.businesslogic.web.Domain is now deprecated
Anyone with any ideas?
Sorry but did you try
Domain.GetDomainsById(Page.Id)[0].Language.CultureAlias
?
is working on a reply...