Is it possible to get the same event of DayPilot on Gridview OnRawCommand ? Answered: The 'e' variable holds a DayPilot.Event object. You can create it using the constructor: https://api.daypilot.org/daypilot-event-constructor/ how-toasp.netgridview