Bug Report T189619
Visible to All Users

TileView is not refreshed when a datasource is changed

created 10 years ago (modified 10 years ago)

Good Morning,
When a gridcontrol's view is set to the new tile view and bound to a typed dataset, adding rows to the data in the dataset doesn't refresh the tiles - if a seconds datagrid is added to the same form, bound to the same dataset but left as a gridview it does refresh correctly so I know the issue isn't with the datasource. I can only think its a tile view issue?

I've tried explicitly calling gridcontrol.refreshdatasource and baseview.refreshdata (CustomDocument754), this made no difference.

If I add a breakpoint and query the number of rows in the datatable it shows all rows, including new ones, are present and if I query tileview1.rowcount it also agrees with the new row count, but the number of tiles displayed in the UI is less that both of these.

The only way I can currently refresh the tile ui is to close the form and reopen it, this is consistent behaviour across two unrelated projects.
Does the tile view need a specific call to refresh it? Any help would be appreciated.

EDIT:

Thanks for the sample project, it does work but its not a solution to my problem - in the sample you insert a row into the client-side datatable. This does refresh the tileview. However, if the under lying data in the database changes and you call tableadapter.fill this does not refresh the tile view.

As mentioned in my original question the datasource and bindings are proven by having a second grid on the same form that does refresh on .fill, the only difference is gridview verses tileview

In a multi-user environment I need to call .fill on a timer and refresh the UI based on database updates from other users, this fails in tileview but works in gridview - the same control, just a different view.

Also mentioned above is the use a breakpoint to prove the datasource contains the new records, and more strangely, tileview.itemcount (rowcount?) also contains the extra records but doesn't show them in the UI.

Hope this explains the error more clearly.

Show previous comments (7)
DevExpress Support Team 9 years ago

    Ok Eldon. Thank you for keeping us informed.

      Hello supporters,

      I am currently experiencing the above phenomenon.

      My version is '18.1.6'

      The only difference is that my datasource is a List Type…

      please check…

      DevExpress Support Team 6 years ago

        Hello,

        I've created a separate ticket on your behalf (T747164: TileView is not refreshed when data is changed). It has been placed in our processing queue and will be answered shortly.

        Answers approved by DevExpress Support

        created 9 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.