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 )

19242 put(a) pogledan, 3 odgovor(a) 31.8.2012. 14:40:44Kreirao(la) DanC
DanC

DanC

31.8.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?

Ovaj sadržaj još nije ocijenjen. 
85 Reputacija 9 Ukupno objava
mzilic

mzilic

31.8.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
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
sonap

sonap

18.4.2013. 7: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
Ovaj sadržaj još nije ocijenjen. 
475 Reputacija 52 Ukupno objava