Tip #59: How to set the default duration for the new Calendar event

Rate this item
(0 votes)

This email address is being protected from spambots. You need JavaScript enabled to view it. sent us a nice tip about setting the default duration for the Calendar even.

The issue is that SharePoint doesn't have [Now] function, so, you can't easily set time you want from the time of the event.The solution is to use WebPart with jQuery, when you set the time directly in control.

The detailed description and code snippet is there

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.