Forums

Forums / Developing Portals / Refreshing only body, not compete page when navigating

Refreshing only body, not compete page when navigating

Thread is closed for posting
5 posts, 1 answered
  1. WaheedHaq
    WaheedHaq avatar
    3 posts
    Registered:
    10 May 2017
    14 Oct 2017
    Link to this post
    When going to any page from navigation , complete page is reloaded. But we don't to reload complete page, We only want to reload the body page.
    I don't want to reload Header, footer and navigation bar again. Only body part should be refreshed. 

    How to achieve this in TCP? Any option or any help reference!!!!
  2. Sonam Joshi
    Sonam Joshi avatar
    29 posts
    Registered:
    20 Mar 2017
    24 Oct 2017
    Link to this post
    For the requirement, to only refresh the center contents, you can display the center content as an iframe and on change of menu items you can change the iframe source accordingly.
  3. WaheedHaq
    WaheedHaq avatar
    3 posts
    Registered:
    10 May 2017
    25 Oct 2017 in reply to Sonam Joshi
    Link to this post
    Thanks Sonam,
    Already got this point. But only thing which I need to know is beside from sitefintiy (drag/drop change), how can I do this change??? I think this change will be from Visual Studio!!! Which solution/project file I have to open where I have to do this change!!!
    I only need this information. 
  4. Sonam Joshi
    Sonam Joshi avatar
    29 posts
    Registered:
    20 Mar 2017
    Answered
    31 Oct 2017
    Link to this post
    To implement iframes, you need not make any changes to the solution/project in Visual studio, this can be implemented using javscript code and iframe on page/page template in Portal Connector.
    Sent you an email for more information, you can refer to the example mentioned in the email.

    Thanks,
    Sonam Joshi
  5. WaheedHaq
    WaheedHaq avatar
    3 posts
    Registered:
    10 May 2017
    31 Oct 2017 in reply to Sonam Joshi
    Link to this post
    Thanks Sonam. Very thank full to you for this.
    I am getting an error, I have also sent email to you regarding to to. Please have a look.
5 posts, 1 answered