A button that provides “Delete” functionality for the current list item. After the deletion, the form is closed (*)
The control inherits properties and behavior from Ribbon Button
control. The script that is pre-generated in the designer for the “OnClick
” event, deletes the current list item/document.
* "Close" behavior: If the form is opened in a popup dialog, then the popup is closed. If not, then the page navigates to:
- The default view of the list/document library if no “Source” parameter isn’t specified in the current URL
- The address specified in the Source parameter of the current URL
- For example, if the current URL of the form is http://openous.sharepoint.com/lists/TestList/NewForm.aspx?Source=/Pages/Home.aspx