CMS control's event handler

joyanta sen asked on July 14, 2018 00:05

Hi,

Is there any document to know the event handlers available for any specific CMS controls. Like OnDayRender event available for CMSCalaendar.

Thanks. Joyanta

Recent Answers


Peter Mogilnitski answered on July 14, 2018 14:45 (last edited on July 15, 2018 19:22)

You may consult CMS.DocumentEngine.Web.UI Namespace:

  1. click on a control you need
  2. scroll down to events section.

On top of it you can check CMSAbstractWebPart class since all web parts inherit it (or their base class inherits from it). Methods from there (OnInit, OnLoad , OnPreRender, Render, etc) are available.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.