Start a new topic

Close and Refresh Page on Dialog Close

Hello,


I have an Icon List Element on a page and above that Icon List I have a Button Element that opens a dialog box link to the NewForm.aspx URL for the SharePoint List that is connected to the Icon List Element. Is there a way to automatically refresh the page when the dialog box closes so that the Icon List is updated with the New Item?


Taking it a step further, is there a way to automatically close the dialog box if the user clicks the Save or Cancel buttons located on the NewForm.aspx page instead of loading the SharePoint List inside the dialog box?


I am using the modern experience.

Login or Signup to post a comment