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 19307 time(s), 3 post(s) 31.08.2012 14:40:44by DanC
DanC

DanC

31.08.2012 14:43:02
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?

Dieser Inhalt wurde noch nicht bewertet. 
85 Reputation 9 Total posts
mzilic

mzilic

31.08.2012 17:25:44
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
sonap

sonap

18.04.2013 07:57:26
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
Dieser Inhalt wurde noch nicht bewertet. 
475 Reputation 52 Total posts