MSDN > 論壇首頁 > SharePoint - Design and Customization > Regarding SPLongOperation Object In SharePoint 2007
發問發問
 

已答覆Regarding SPLongOperation Object In SharePoint 2007

  • 2009年7月3日 下午 01:38moss_lover 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I am using the SPLongOperation Object in my project to introduce a delay while navigating to a new page.The in-built page uses the default css styles and branding.

    I want to customize this page design and apply my own theme and branding.

    Please tell me how to apply a custom master page to the page which displays the SharePoint 2007 Spin Wheel having the animated gears_an.gif image.

    Thanks in advance.

解答

  • 2009年7月3日 下午 01:53Dave Hunter 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Hi,

    This calls an application page called LongRunningOperationProgress.aspx which uses the application.master.  You have two options to customise the application.master page

    1. Modify the _layouts in a supported manner, please see http://support.microsoft.com/kb/944105.  It involves either backing up the _layouts and modifying the masterpage or creating a copy of the _layouts and changing the virtual directory to use the new folder (my preferred solution).
    2. Create a httpmodule which replaces the application.master with your custom one, please see http://graegert.com/?p=781

    I prefer the HttpModule, but I am a developer, if you don't have Visual Studio then use option 1.

    Hope this helps

    Dave
    My SharePoint Blog - http://www.davehunter.co.uk/blog

所有回覆

  • 2009年7月3日 下午 01:53Dave Hunter 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    Hi,

    This calls an application page called LongRunningOperationProgress.aspx which uses the application.master.  You have two options to customise the application.master page

    1. Modify the _layouts in a supported manner, please see http://support.microsoft.com/kb/944105.  It involves either backing up the _layouts and modifying the masterpage or creating a copy of the _layouts and changing the virtual directory to use the new folder (my preferred solution).
    2. Create a httpmodule which replaces the application.master with your custom one, please see http://graegert.com/?p=781

    I prefer the HttpModule, but I am a developer, if you don't have Visual Studio then use option 1.

    Hope this helps

    Dave
    My SharePoint Blog - http://www.davehunter.co.uk/blog