Toolbar Delete on click event
Posted: 29 Aug 2014
Hello - I am using a standard SharePoint calendar web part with several calendar overlays. When clicking an item on the calendar the display form shows up in a new tab. This is expected behaviour. I have used Forms Designer to add an on click event to the close button of the display form to close the tab.
Here is my problem: on an edit form, when deleting an entry using the top toolbar "delete item", I have no option to add an on click event to close the current tab. The user is brought back to the calendar in the same window - so there are two duplicate windows. After delete using the top toolbar, I want to close the current tab and return to the original tab.
Here is my problem: on an edit form, when deleting an entry using the top toolbar "delete item", I have no option to add an on click event to close the current tab. The user is brought back to the calendar in the same window - so there are two duplicate windows. After delete using the top toolbar, I want to close the current tab and return to the original tab.