C1DbNavigator Resizing/Lay-out Bugs (v. 8.0.20242.700 - .NET 9.0)

Posted by: abraham on 8 May 2025, 10:59 pm EST

  • Posted 8 May 2025, 10:59 pm EST - Updated 8 May 2025, 11:09 pm EST

    C1DbNavigator Item nr-sizing Bug.2025-05-09.zip

    See attached bug demo solution for the C1DbNavigator with full instructions on how to repeat.

    Issues:

    • the editor (current record nr) section of the C1DbNavigator is too wide
    • even when AutoSize = true, the C1DbNavigator grows but never shrinks when the record count gets down to much smaller number.
    • when the DataSource is re-connected to a much large data-set; upon re-connection the C1DbNavigator is not performing an auto-size PerformLayOut() properly - resulting in displaying the total record count without sufficient space.
    • when separate BindingSource.ResetBindings(false) calls are issued to the DataSource of the C1DbNavigator - the auto-sizing/PerformLayOut() still does not occur although the C1DbNavigator does fire the RecordListChanged event and knows the correct record numbers.

    When the C1DbNavigator is bound to a BindingSource, a call to BindingSource.ResetBindings(false) should always result in an auto-resize/lay-out action. And a reduced total record count should lead to shrinkage of the control.

    Our ‘interim work-around’ is to subclass C1DbNavigator and subscribe to the RecordListChanged event to call C1DbNavigator.PerformLayOut() separately, but this is not preferred of course.

    PS: we did not experience these issues with the .NET 4 version of the C1DbNavigator control - they popped up during our migration efforts.

  • Posted 9 May 2025, 12:04 pm EST

    Hi,

    Thanks a lot for providing the detailed steps and sample project to reproduce the issue. We have reported it to the development team for further investigation. We will let you know as soon as there is an update from their end.

    [Internal Tracking ID: C1WIN-34016]

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels