C1ComboBox and DropDownForm - error

Posted by: olkasu on 26 February 2018, 9:54 am EST

    • Post Options:
    • Link

    Posted 26 February 2018, 9:54 am EST

    Hi Guys,

    Many many years ago I have a problem : how to add a tooltip to each item in the c1ComboBox. Your Guys give me a solution (https://www.grapecity.com/en/forums/winforms-edition/c1combobox-amp-tooltip-for_1) and everything works fine till I’ve updated the version. And now it is crashed.

    Could you please help me to find a new solution or please fix your bug.

    With kindly regards, Olga Sukha

  • Posted 27 February 2018, 2:31 am EST

    Hello Olga,

    Please try the below mentioned ways to get rid of your issue:

    1. In the “Solution explorer”, open the “References” section. In the properties of the C1 related references, there should be a property “Specific version”. This should be “false”. If it is “true”, then switch it. Rebuild the sample and see if it helps.

    2. Open the “license.licx” file in your project and check if the entries have version information. Kindly remove them. The entries present as

    C1.Win.C1Input.C1ComboBox, C1.Win.C1Input.4, Version=4.0.20173.286, Culture=neutral, PublicKeyToken=7e7ff60f0c2112sb
    

    must be replaced with

    C1.Win.C1Input.C1ComboBox, C1.Win.C1Input.4
    

    Let us know if the issue persists. Also, kindly confirm the version you are using now.

    Best Regards,

    Esha

  • Posted 27 February 2018, 4:20 am EST

    Thanks for answering, but it doesn’t help ((( please see my project in attached file.

    The version is 4.0.20173.286

    C1ComboBoxTooltips_crashed.zip

  • Posted 28 February 2018, 2:39 am EST

    Olga,

    We could observe the issue at our end and have escalated it to the concerned team (Internal Tracking ID: 311042). We will get back to you once we hear from them.

    Best Regards,

    Esha

  • Posted 28 February 2018, 4:44 am EST

    Hi Olga,

    Sorry, but user can’t use custom dropdown form for C1Combobox, after *.264 build.

    But, I attached workaround for this case (please, see C1ComboBoxTooltips_new.zip) and we added new enhancement request for this case.

    Best Regards,

    Konstantin

    C1ComboBoxTooltips_new.zip

  • Posted 28 February 2018, 6:26 am EST

    Hi Guys,

    Thanks for the solution, but I’m disappointed a little with

    _view = (XView)form.Controls[0].Controls[0].Controls[0];

    in the next update you’ll add one more panel at the DropDownForm and this will be crashed again ((

    With kindly regards, Olga Sukha

  • Posted 1 March 2018, 12:09 am EST

    Hello Olga,

    We understand your concern. Currently, we don’t have a public api to resolve this issue. However, an enhancement request for the same is raised. As of now, instead of

    _view = (XView)form.Controls[0].Controls[0].Controls[0];
    

    you can use:

    
    Control cnt = form;
    while (cnt.Controls.Count > 0 && !(cnt is XView))
    cnt = cnt.Controls[0];
    _view = (XView)cnt;
    

    Best Regards,

    Esha

Need extra support?

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

Learn More

Forum Channels