I need to know how I can have control that loads into the page and displays a list of the latest articles. I can already load my control but I have absolutely no idea how to access the articles through the control. My controls class Inherits the SkinnedCommunityControl class. On the other hand the 'Article Section' class Inherits the ContentListPage in order to load the articles.
Some other controls use the 'Delegates' statement in the code to invoke a function. But im not sure if I should be using that. I tried the following code to try and create a new instance of the ArticleInfo object:
Dim objTopArticles As ArticleInfo = CType(Context.Items("ContentInfo"), ArticleInfo)
But when I step through the code and watch the object it does not get set. Can someone please, please, help me with this one. Its probably a stupid question, but ive been working on it for some time now and just cant get it to work. I need to urgently address this problem so that I can finish this site.
Thanks everyone.