Hello Team Telerik,
there are three things that I can use:
for language (en): The code that is saved is 127.
for language english:
InvariantCulture = 127
CurrentCulture = 1033
CurrentUICulture = 9
I need to use this in my query specified as under:
Mgr.GetPages().Cast<ICmsPage>().Where(x => x.LangID == CultureInfo.CurrentUICulture.LCID).OrderBy(x => x.Ordinal).OrderBy(x => x.ParentID).ToList<ICmsPage>();
if I use InvariantCulture, irrespective of the language it will return me 127.
if I use CurrentUICulture, it returns me with the correct code, but not for the language English.
So, the above query seems to be different for english language and other languages. I cannot seperate these as per the locale.
Please let me know how can I acheive this