Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Event subscriptions - best practices

$
0
0
When you subsribe to DataEvents you'll get a reference to the data in question directly from the DataEventArgs. Try instead
var page = dataEventArgs.GetData<IPage>();

Viewing all articles
Browse latest Browse all 2540

Trending Articles