Mono Support Activity stream filtering 

Viewed 18557 time(s), 3 post(s), 8/31/2012 2:40:44 PM - by DanC
8/31/2012 2:43:02 PM
85 Reputation 9 Total posts

HI, I'm still having some trouble applying filtering and basic settings to an activity stream.

Here is the code for the activity stream:
<%@ Register TagPrefix="MonoX" TagName="EventsContainer" src="/MonoX/ModuleGallery/SocialNetworking/Events.ascx" %>

<MonoX:EventsContainer ID="EventsContainer1" NumberOfEventsToShow="4" EventsToDisplay="BlogPosts" PagerPageSize="7" runat="server" width="100%" ChromeTemplateFile="Standard.htm" HeaderText="Blog posts" />

This gives the result in the picture attached. Clearly:
1) More than just blog posts are showing
2) Not showing any blog posts
3) Number of events has been ignored (should be 4)
4) PagerPageSize=7 is not had any affect

Am I doing something wrong?

1
8/31/2012 5:25:44 PM
2218 Reputation 300 Total posts

Hello,

1) More than just blog posts are showing
2) Not showing any blog posts
Please see the following topic for a workaround. Do you have the MonoX source code?

3) Number of events has been ignored (should be 4)
4) PagerPageSize=7 is not had any affect
Please use the PageSize property instead of PagerPageSize. To limit the total number event to be shown please use the NumberOfEventsToShow property.

Regards,
Mario

2
4/18/2013 7:57:26 AM
475 Reputation 52 Total posts

Hello, I had a problem with this Module (Events.ascx).
When I insert it in a page (say Dashboard.aspx) I need to define the "EventsToDisplay" attribute or else it returns an error :

-----------
"Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. .... (etc)
-----------
What should I place in the "EventsToDisplay" attribute in order to show all recent activity from every user?
Shoud I edit the code behind?

Thank you,
Panos

3
This is a demo site for MonoX. Please visit Mono Software for more info.