How to input x button in event when i use CssClassPrefix?
Asked by nok 13 years ago.
hi,
i set
EventDeleteHandling="JavaScript"
EventDeleteJavaScript="eventDelete(e)"
in Calendar and Month, ASP.NET WebForms
and it works in default css mode.(CssOnly=false)
but when i use CssClassPrefix(CssOnly=true), i cant see x button in event.
how to appear this button?
i used calendar_blue.css.
Answer posted by Dan Letecky [DayPilot] 13 years ago.
The delete icon is not supported in the CssOnly mode. It is replaced by more universal system of "active areas". You can add the delete button using BeforeEventRender:
but when i click delete area, click event is also executed.
how to execute only delete event when i click delete area?
how to ignore other event in delete area?
thank you
Comment posted by nok 13 years ago.
oh i dont know what i did but that is working correctly.
i think there is someting syntax error.
thanks!
Comment posted by Dan Letecky [DayPilot] 13 years ago.
You need to set ClientObjectName to "dpc1". The example is using a reference to the DayPilot.Calendar client-side object to invoke the EventDelete event.
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.