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
burningice wrote:
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>();
--

thanks worked great!

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>