Similar to widgets, events also support
Listed below are the current Graffiti events:
Wires up an event with a standard event handler. This event allows you to wire up an event to the ASP.Net BeginRequest event without deploying your own HttpModule or editing the Global.asax.
Wires up an event with a standard event handler. This event allows you to wire up an event to the ASP.Net EndRequest event without deploying your own HttpModule or editing the Global.asax.
The Data object events are fired during the life cycle of any Graffiti data which is stored and managed by Graffiti. This includes Category, Comment, Log, Post, ObjectStore, User, and VersionStore.
All of these events use the same signature/delegate: DataObjectEventHandler(DataBuddyBase dataObject, EventArgs e). DataBuddyBase is base object for all Graffiti data objects.
Fires before BeforeInsert and BeforeUpdate. It is generally used to perform any data validation before processing the commit.
Fires an event before a new data object is inserted into the database.
Fires an event before any existing data object is updated in the database.
Fires after any data object is inserted or updated in the database. In other words, it fires after both BeforeInsert and BeforeUpdate.
Fires before Graffiti sends an email. Uses the EmailTemplateHandler signature and provides you a reference to the email template that will be used to send the email.
Fires after Graffiti sends an email. Uses the EmailTemplateHandler signature and provides a reference to the email template that was used to send the email.
Fires after a new Post has been added to an RssFeed. This event allows you to add new elements and/or update an existing element. The event signature is RssEventHandler(RssItem item, EventArgs e). The item property is an instance of RssToolkit.Rss.RssItem.
An event which fires the first time during a request the user (IGraffitiUser) is known.
An event which is raises after Graffiti creates a new IGraffitiUser.
An event which is raised before any updates to an IGraffitiUser.
An event which is raised after any updates to an IGraffitiUser.