// BEGIN long-running operation
SPLongOperation lop = new SPLongOperation(this.Page);
lop.LeadingHTML = "Adding customers";
lop.TrailingHTML = "Please be patient";
lop.Begin();
// your long operation code here
// END long-running operation
lop.End(Customers.DefaultViewUrl, Microsoft.SharePoint.Utilities.SPRedirectFlags.Default, this.Context, "");
See more options :
http://howtosharepoint.blogspot.com/2010/04/how-to-programatically-show-processing.html
Ads by Google
No comments:
Post a Comment