Usually when you are working with sharepoint, we have to create site programatically or any other operations programatically which will take more time than the usual.
This kind of srenarios rather than depending on the browser processing we can use the sharepoint beauty i.e SPLongRunOperation.
Here is the way to use this.
protected void btnSubmit_Click(object sender, EventArgs e)
{
using (SPLongOperation longOperation = new SPLongOperation(this.Page))
{
longOperation.LeadingHTML = "";
longOperation.TrailingHTML = "Please wait your changes are processed";
longOperation.Begin();
string URL = SPContext.Current.Web.Url + "/Pages/OperationDone.aspx";
longOperation.End(URL);
}
}
This will give you a screen like below :
Thank you !!

Explore flexible analytics courses online designed for practical learning.
ReplyDeleteYou understand data trends, patterns, and insights.
Real-time exercises enhance your knowledge.
Live classes make learning interactive.
Trainer support is always available.
These courses help you grow in analytics.
⭐ Analytics Classes Online
Interactive analytics classes online provide hands-on exposure to data tools.
You learn analysis, visualization, and reporting techniques.
Assignments improve your practical understanding.
Recorded sessions help you revise easily.
Flexible schedules suit all learners.
These classes build a strong analytics foundation.
"Boost your career with salesforce dev training
ReplyDeletedesigned for beginners and professionals to master Salesforce development.
"Boost your career with sales force admin course
ReplyDeletedesigned to teach you essential admin skills and platform management. Gain hands-on experience to become a certified Salesforce administrator and excel in the CRM ecosystem."
"Enhance your data visualization skills with tableau classes online
ReplyDeletedesigned for beginners and professionals alike. Learn at your own pace and master interactive dashboards from anywhere with our expert-led Tableau classes online."
"Enhance your data skills with power bi course online
ReplyDeletedesigned for beginners and professionals alike. Learn to visualize, analyze, and share insights efficiently through practical, hands-on training."
A python django online classes program provides structured virtual learning. It emphasizes practical coding and live demonstrations. This python django online classes strengthens real-time development capabilities. It improves debugging and testing techniques. Learners build scalable projects. It is dependable.
ReplyDelete