1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Pages Facade w/localization

Pages Facade w/localization

3 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    03 Dec 2010
    Link to this post
    How do I filter the pages coming down with the facade to be only those in the current language specified by the page?

    **Edit** Also, will the results also only show those pages the user is allowed to see, or is that another method on the Facade tree?
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    03 Dec 2010
    Link to this post
    Sorry...one more :)

    How can I get the results back into a set of nodes

    I'm trying to webservice bind my menu, I dont want a flat list of Page objects, I only want (on initial load) the root items, then I can filter depending on the passed in ID
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Dec 2010
    Link to this post
    Hi Steve,

    1.You have to set the System.Threading.Thread.CurrentThread.CurrentUICulture  to the culture for which you want to retrieve pages or some other items.

    2. Getting page nodes - you can take a look at this forum post - Iterating over Page Names

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered