Current filter:
                                You should refresh the page.
                                  • ASPxNewsControl in EndlessPagingMode=OnScroll is behaving strangely:
                                    - If the height of the container can contain more than the number of news specified in RowPerPage, a link "Show more" appears
                                    - If the number of news is less or equal than the RowPerPage value, the link "Show more" is not visible but it's container is still present and taking space:

                                    [HTML]
                                    <tr> <td><div id="ctl04_ctl10_EPContainer" class="dxncPagerShowMoreItemsContainer"> </div></td> </tr>
                                • Oleg (DevExpress Support) 11.21.2019

                                  Hello Chris,
                                  I tested your scenario in a sample project created with our demo data and was not able to reproduce the mentioned issue.
                                  I located the ASPxNewsControl control within a scrollable DIV container with a fixed height. The ASPxNewsControl items were loaded sequentially (based on a number of rows specified in the RowsPerPage value) until the ASPxNewsControl's content filled the DIV's available area.
                                  The "Show More" button was not rendered in this case.

                                  Please check how the attached sample operates on your side.
                                  Would you please add required modifications to my sample so that it can be used to reproduce the issue with showing the "Show More" button and send this sample back to me.
                                  I will investigate it and do my best to assist you.

                                • chris Mancini 11.21.2019
                                  [ASPx]
                                  <dx:ASPxPopupControl runat="server" PopupElementID="MyAlerts" ShowHeader="false" Width="300" Height="400" ScrollBars="Vertical"> <ContentCollection> <dx:PopupControlContentControl> <dx:ASPxNewsControl runat="server" DataSourceID="SqlDataSourceAlerts" HeaderTextField="Title" TextField="Notes" NavigateUrlField="Link" Width="100%" ClientInstanceName="MyAlertsList"> <EmptyDataTemplate>No notifications</EmptyDataTemplate> <ItemImage IconID="businessobjects_bo_notifications_svg_16x16" /> <PagerSettings EndlessPagingMode="OnScroll" /> </dx:ASPxNewsControl> <asp:SqlDataSource ID="SqlDataSourceAlerts" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT Title, Notes, Link FROM Notifications" /> </dx:PopupControlContentControl> </ContentCollection> </dx:ASPxPopupControl>
                                • Oleg (DevExpress Support) 11.22.2019

                                  Hello Chris,
                                  I modified my previous sample project by locating the ASPxNewsControl control within the ASPxPopupControl container.
                                  However, the result was the same. The ASPxPopupControl control loaded new items while scrolling the ASPxPopupControl's window without showing the "Show More" button.
                                  Please check the attached sample.

                                  Probably some other aspects of your scenario result in this issue. I cannot answer precisely why the issue occurs without reproducing and investigating it locally.
                                  Please modify my sample project so that it can be used to reproduce the problematic behavior and send it back to me. I look forward to your response.

                                • chris Mancini 11.22.2019

                                  Simply replace your button by a FAB.
                                  Note that the height of the PopupControl has to be higher than the height of the RowsPerPage's first news, which is not the case in your example!

                                  [ASPx]
                                  <dx:ASPxFloatingActionButton ID="btnShowPopup" runat="server" InitialActionContext="Alerts"> <Items> <dx:FABAction ActionName="view" ContextName="Alerts" /> </Items> </dx:ASPxFloatingActionButton>

                                1 Solution

                                Creation Date Importance Sort by

                                Hello Chris,
                                After several attempts, I have managed to reproduce this behavior in my sample project.
                                The issue is reproduced in specific cases and the behavior depends on the ASPxNewsControl items' height.

                                The matter is that the ASPxNewsControl's endless paging mode is intended to work with the page's scrollbars. The ASPxNewsControl should be located directly on a page and in this case the items will be loaded on page scrolling.

                                This mode was not adapted for a scenario where the ASPxNewsControl is located within a separate (scrollable) container.

                                We will investigate if it is possible to adapt this mode to the mentioned scenario in the scope of the following thread:
                                NewsControl - The "Show More Items" button is shown in "OnScroll" mode on the initial load if the control is located within a separate scrollable container

                                We will update the status of the mentioned thread once we have any results.

                                At present, we can only suggest switching to the "OnClick" mode or increasing the maximum number of rows displayed on a page.

                                Show all comments
                                • chris Mancini 11.25.2019

                                  "increasing the maximum number of rows displayed on a page."

                                  That's what i did but remember the second case then:

                                  "If the number of news is less or equal than the RowPerPage value, the link "Show more" is not visible but it's container is still present and taking space"

                                  I had to add display=non to the bottom element dxncPagerShowMoreItemsContainer

                                • Oleg (DevExpress Support) 11.26.2019

                                  Hello Chris,
                                  I reduced the number of items in my test data source to 2 and tested how ASPxNewControl is rendered in this scenario if the RowsPerPage property is set to 1 and 2.
                                  If this property was set to 1, the "Show More" button was rendered (this is the behavior we are going to research).
                                  However, the button was not shown in the second case since its parent container (TD) was hidden (display="none").

                                  Unfortunately, I was not able to reproduce the behavior when this button was not shown, but there was an empty space for the button's parent container.
                                  Please check the attached sample. If you can reproduce the issue with my sample, please modify it and send it back to me.

                                  The "App_Data" folder contains two files:
                                  OnThisDay.xml - this is a reduced data source only with two items
                                  OnThisDay_2.xml - this is an original data source with a lot of items.
                                  You can use any of these data sources in order to test your scenario with my sample.

                                • chris Mancini 11.28.2019

                                  The empty space is shown after scrolling then to the end of the list...

                                • Oleg (DevExpress Support) 11.28.2019

                                  I still could not manage to reproduce the issue with showing only the button's container. Please see the attached video.
                                  The "Show More" button is rendered with the "display: block" attribute, however the button's parent container (TD) is not shown since its "display" attribute is set to "none".

                                  Would you please clarify if you reproduced this issue with my sample project on your side? I have re-attached it with another data source.
                                  If you can reproduce it, send me your video demonstrating the exact steps that I need to do.

                                • chris Mancini 11.28.2019

                                  I was having the problem with:
                                  - RowPerPage = 3
                                  - height of the PopupControl = 400px
                                  - around 20 news in total

                                • Oleg (DevExpress Support) 11.29.2019

                                  Hello Chris,
                                  I modified my sample project based on your recent comment:

                                  • changed the ASPxPopupControl.Height to 400
                                  • set the RowPerPage property to 3
                                  • switched to the "OnThisDay_2.xml" data source that contains more than 20 items.

                                  The "Show More Items" button was rendered only on an initial ASPxNewsControl loading (this is the issue we discussed previously and moved to a separate thread).
                                  This button click results in loading another portion of items and moving the button to the end of the ASPxNewsControl's container.
                                  Once I scrolled to the end of the ASPxNewsControl's container, the button became hidden, since the "display:none" attribute was applied to the button's container.
                                  Please see the attached video.

                                  Most likely some other aspects of your scenario (controls' settings, a specific data source, etc.) must be taken into account in order to replicate the problematic behavior.
                                  Would you please add required modifications so that it can be used to reproduce the issue? In my opinion, this is the quickest and most efficient way to isolate and investigate the problematic behavior.
                                  If you experience any difficulties with running and modifying my sample, please describe the issues and I will correct them in my project so you can use it for testing.

                                • chris Mancini 12.02.2019

                                  Guys, you realize i'm working more for you to find and fix your bugs than working for my own clients?!

                                • Oleg (DevExpress Support) 12.03.2019

                                  Hello Chris,

                                  We value your time and do our best to resolve this issue. Unfortunately, the source of the issue when the button's container is rendered is still unclear to me. It likely relates to our ASPxNewsControl rendering in OnScroll mode in a very specific scenario (a certain page layout/data source).

                                  We finally reproduced the original issue with the "Show More Items" button rendering based only on your layout description and now we have a test project to research and test a solution.

                                  However, we still cannot isolate the issue when the "Show More Items" button container is incorrectly shown.

                                  I kindly ask you to modify the sample I previously attached and send it to me. If the issue can be reproduced only with your data source, please send me scripts, so that I can generate your data base structure with corresponding records. In addition, we need precise steps to reproduce the issue in that project.

                                  If your company requires you to sign an NDA with us before sharing your project, feel free to send the NDA form to our management at management@devexpress.com.

                                  We will do our best to assist you.

                                • chris Mancini 12.03.2019

                                  Because someone corrected it without telling anybody!!
                                  Cannot reproduce it anymore...

                                • Oleg (DevExpress Support) 12.03.2019

                                  Thank you for informing me that the issue was resolved on your side.
                                  As you can see, in some cases, the issue can be related to some custom aspects of specific scenarios, rather than to our controls' specificity only.
                                  That is why, we always need as many details as possible for reproducing the issue.

                                • chris Mancini 12.03.2019

                                  I was meaning someone from the DevExpress team!

                                  I didn't correct anything, this was a bug from your NewsControl that was probably corrected with the v19.2 but there's no information about it in your version logs...

                                • Oleg (DevExpress Support) 12.04.2019

                                  Chris,
                                  That’s great that the issue went away with the latest version.
                                  At the same time, it is fairly difficult to assume what code did the job, since we are still unable to reproduce and debug this behavior.
                                  Our tests do not reveal the problem either with the latest update or with the previous version.

                                  Nevertheless, if you notice similar behavior in the future, do not hesitate to contact us.