Click on this icon to open the XML page.Tom Van Gaever - Blog
Search:   

Set theme for "Operation in progress" page 
Tuesday, July 29, 2008, 08:02 - SharePoint
Posted by Administrator
In my previous post was shown that it's quite easy to create the "Operation in progress" page, but when you will notice this page is shown with the default microsoft theme. In order to use the theme that is used by the MOSS server...


string style = @"<link rel=""stylesheet"" type=""text/css"" href=""" + currentWeb.ThemeCssUrl + @""" />";

SPLongOperation op = new SPLongOperation(this);
op.LeadingHTML = style + "[Enter your message here]";
op.Begin();



currentWeb.ThemeCssUrl gets the location of the CSS file that is used.


1 comment ( 10 views )   |  permalink   |  related link   |   ( 3 / 587 )

<<First <Back | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | Next> Last>>