Thursday, February 28, 2013

SPLong Operations VS Wait Modal Poup

1) If you need to show the wait  screen when the list of activities being executed in behind the scenes
  SPLong Operation is pretty good solution.

2) In the scenarios  Where Client Object Model is used in huge,Following source will definitely help you

<script type="text/javascript">

function RedirectTo() 
  window.location = "New Page Url";      

function showWaitScreen() 
window.parent.eval("SP.UI.ModalDialog.showWaitScreenWithNoClose('Please Wait', 'Redirecting to new page...', 76, 330);");
  setTimeout(RedirectTo, 1500);
ExecuteOrDelayUntilScriptLoaded(showWaitScreen, "sp.js");

Questions and Comments are welcome !!!

No comments: