MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Activity stream filtering  (Mono Support )

Viewed 17800 time(s), 3 post(s) 8/31/2012 2:40:44 PMby DanC
DanC

DanC

8/31/2012 2:43:02 PM
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?

This content has not been rated yet. 
85 Reputation 9 Total posts
mzilic

mzilic

8/31/2012 5:25:44 PM
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
This content has not been rated yet. 
2218 Reputation 300 Total posts
sonap

sonap

4/18/2013 7:57:26 AM
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
This content has not been rated yet. 
475 Reputation 52 Total posts