The following articles describes the events exposed by pages in Sitefinity.
This interface is implemented by all events which fire when a page in the site is accessed by an unauthorized user. There's only one such built-in event, but you should always subscribe using the interface rather than the class that implements it. Use the following code to subscribe.
EventHub.Subscribe<IUnauthorizedPageAccessEvent>(evt => IUnauthorizedPageAccessEventHandler(evt));
var currentContext = eventInfo.HttpContext;
var page = eventInfo.Page;
var redirectStrategyType = eventInfo.RedirectStrategy;
var redirectUrl = eventInfo.RedirectUrl;
If the visitors browsing the page are associated with certain audience segments and in case the page has personalized versions of widgets created for these specific segments, the IPersonalizedWidgetRenderEvent is fired. The event is fired for each personalized widget.
Since there is just one such built-in event, you always subscribe using the interface rather than the class that implements it. Use the following code to subscribe:
EventHub.Subscribe<IPersonalizedWidgetRenderEvent>(evt => IPersonalizedWidgetRenderEventHandler(evt));
In the event handler, you can access the following information:
Back To Top