SalesLogix Web - Refresh Tabs


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Sage.Platform.WebPortal.SmartParts.SmartPart sp = form.NativeForm as Sage.Platform.WebPortal.SmartParts.SmartPart;
  2. if(sp.PageWorkItem != null)
  3. {
  4. Sage.Platform.WebPortal.Services.IPanelRefreshService refresher = sp.PageWorkItem.Services.Get<Sage.Platform.WebPortal.Services.IPanelRefreshService>();
  5. if (refresher != null)
  6. {
  7. refresher.RefreshTabWorkspace();
  8. }
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.