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...Posted by Administrator
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.




( 3 / 587 )

Tom Van Gaever - Blog
Avatar






