Microsoft 开发人员网络 > 论坛主页 > SharePoint - Design and Customization > Regarding SPLongOperation Object In SharePoint 2007
提出问题提出问题
 

已答复Regarding SPLongOperation Object In SharePoint 2007

  • 2009年7月3日 13: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日 13: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日 13: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