See also
- DayPilot.Scheduler.onResourceCollapse (client-side API)
ASP.NET WebForms
ResourceCollapse event is called after a resource tree node is collapsed by the user.
The event handling type can be set using ResourceCollapseHandling property:
- Disabled (the event will not be fired)
- CallBack (ResourceCollapse server-side event is called using a CallBack)
- PostBack (ResourceCollapse server-side event is called using a PostBack)
- JavaScript (the event is handled on the client side using ResourceCollapseJavaScript)
Example
ResourceCollapseHandling="JavaScript" ResourceCollapseJavaScript="alert('Resource ' + resource.name + ' collapsed.');"