in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

RibbonComboBox Bug

Last post 07-09-2008 3:49 PM by C1_AndreyD. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 07-04-2008 4:10 PM

    RibbonComboBox Bug

    I have a RibbonComboBox that allows 3 possible values Well, Battery and null. When a user start typing "B", the combobox behaves appropriately by autofilling the field with Battery, where "attery" is selected. Once the user enters "a", the field only says "Ba" and the remainder of the word is not displayed. 

     If the user then presses the arrow to display the dropdown, and select Battery from the list, the text box continues to display "Ba".

     In all cases, the SelectedItem property still points to the "Battery" selection. I can implement the lost focus and force the word "Battery" into the TextBox.Text property for it to display properly, but I can't seem to find a way to fix it so that when the user selects from the drop down that the correct value is displayed.

     Thanks,

    Shamir

    Filed under:
  • 07-04-2008 4:24 PM In reply to

    Re: RibbonComboBox Bug

    Thanks Shamir. We'll work on this issue.

    Regards,

    -Andrey
  • 07-08-2008 4:56 AM In reply to

    Re: RibbonComboBox Bug

    Hi Shamir,

    This bug must be fixed in build 102:

    http://download3.componentone.com/pub/Net/c1ribbon/misc/C1Ribbon.2_2.0.20082.102.zip

    Thanks.

    -Andrey
  • 07-08-2008 5:07 PM In reply to

    Re: RibbonComboBox Bug

    Hi Andrey,

    We got the new version of the Ribbon DLL (2.0.20082.102). We now can't open up some of the windows forms we'd created in the Designer. We get:

    Exception of type 'System.ComponentModel.Design.ExceptionCollection' was thrown.

    We use WinXP with all service packs, VS2005, .NET 2.x.

    When we revert to Ribbon DLL (2.0.20082.101), clean and rebuild the solution, we do not get that exception. Could it be that there is a bug between versions?

    Thanks.

    Georgi

  • 07-08-2008 5:24 PM In reply to

    Re: RibbonComboBox Bug

    Hi Andrey,

    More info: While trying to solve the issue, I got:

    Object reference not set to an instance of an object.
    Hide    

    at C1.Win.C1Ribbon.dj.v()
    at C1.Util.Design.Floaties.FloatieBase..ctor(b owner)
    at C1.Util.Design.Floaties.PopupFloatie..ctor(b owner, Type inheritor)
    at C1.Util.Design.Floaties.PopupFloatie..ctor(b owner)
    at C1.Win.C1Ribbon.ar.a()
    at C1.Win.C1Ribbon.dj.a(df A_0)
    at C1.Win.C1Ribbon.C1Ribbon.g()
    at C1.Win.C1Ribbon.C1Ribbon.i()
    at C1.Win.C1Ribbon.C1Ribbon.System.ComponentModel.ISupportInitialize.EndInit()

    Perhaps it can be a link to the issue...

    When I decompile I get:

    v() ==

    private IDesignerEventService v()
    {
        return this.a.al();
    }
    
    and a is the C1Ribbon. We use Form inheritance and it looks like the inheriting form does not 
    call InitializeComponents() and as a result the protected C!Ribbon component is NULL?!

    Regards,

    Georgi

  • 07-09-2008 3:49 PM In reply to

    Re: RibbonComboBox Bug

    Hi Georgi,

    I'm sorry. The issue must be fixed in the following build:

    http://download3.componentone.com/pub/Net/c1ribbon/misc/C1Ribbon.2_2.0.20082.103.zip

    Thanks.

    -Andrey

Page 1 of 1 (6 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.