
Code for this:
SPLongOperation operation = new SPLongOperation(this) {
LeadingHTML = "This is the description of my operation",
};
operation.Begin();
Thread.Sleep(2000);
operation.End("/Custompage.aspx");
Note: Put your code inside Operation.Begin() and Operation.End()
For more information visit
Microsoft.SharePoint.SPLongOperation
Enjoy!!!
No comments:
Post a Comment