More in this section
Forums / Sitefinity SDK / Getting Page Names Programatically

Getting Page Names Programatically

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Jon
    Jon avatar
    41 posts
    Registered:
    20 Oct 2010
    29 Nov 2010
    Link to this post
    Hi,
         I'm trying to get the Parent and Child page names in a project programatically however, the properties of the PageNode object does not return page names. It returns a bunch of non-related strings .. Please see 4 lines of code below. Does the API not return page names ? The property is there. Please advise on how to return page names. Thanks in advance , Jon 

    var pages = App.WorkWith().Pages().Get().ToList();

    foreach (PageNode pn in pages)

    {

        Response.Write(pn.Name);

    }

     




    Edit your post Reply

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    29 Nov 2010
    Link to this post
    Hello Jon,

    Please refer to the other post you opened where I sent a reply to you.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered