Disable navigation pages in browser work-offline mode RRS feed

  • Question

  • Hello,

    As we know caching is used to maintain state information as you navigate to different pages on a SharePoint web site. These all information is stored in caching. How to disable traversing/navigation SharePoint web pages when browser mode is work-offline?

    Please let me know if anyone has any idea.     



    Mukesh Ajmera

    Mukesh Ajmera| LinkedIn ||

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Wednesday, June 12, 2013 1:11 PM

All replies

  • Hi Mukesh,

    Thank you for posting in the MSDN Forum.

    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

    Sorry for any inconvenience and have a nice day!

    Best regards,

    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, June 13, 2013 2:15 PM
  • Hello Mukesh,

    Can you provide me a reproduceable Scenario where you are intending to use this. It will be very difficult to answer this question, unless we know what you are trying to achieve and if it is breaking or not working.

    Tuesday, July 2, 2013 6:50 AM
  • Also it would be easier to create a support ticket with MS CTS in case you are not able to give us more information on the same.
    Wednesday, December 11, 2013 5:46 AM
  • In any case, to respond to your original question, although the following are methods to find out if Work offline is actually selected from the browser.

    However, this doesn't work predictably when there is no network or if the network cable is unplugged

    // FIREFOX
    (window).bind("online", applicationBackOnline);
    (window).bind("offline", applicationOffline);

    .onload = function() {
    .body.ononline = IeConnectionEvent;
    .body.onoffline = IeConnectionEvent;

    Additionally if you want to hide the left navigation bar, this customization needs to be verified on NON production environments and is not a supported method without MS Dev intervention.

    From a methodology point of view. We would need to either modify the master page or CSS linked to the master page.
    In SharePoint 2010, this can be done pretty easily in the CSS file by modifying the following two styles.


    That style controls the left navigation panel, and setting the display to none effectively hides the entire section.  Hiding this section is not enough though, since the body area uses a left margin to specify where to start the body section.  So you would also need to modify the following style, to tell the body area to start at 5 pixels from the left, or wherever you want to start the main area.
     margin-left: 5px;
     background: transparent;


    Wednesday, December 11, 2013 5:57 AM