New version of CreateMatchCaseButton() function in GridSearchCellElement class

1 Answer 66 Views
GridView
Zygmunt
Top achievements
Rank 1
Iron
Iron
Iron
Zygmunt asked on 19 Apr 2022, 07:08 AM

Hello,

I had project which builed with Telerik in version 2020.1. I have in my project  custom GridSearchCellElement class. After Telerik upgrate I get the following error message "CreateMatchCaseButton(): no suitable method found to override". Somewhere on your forums I found information that the function CreateMatchCaseButton() is obsolate. Could you tell my which function replaced the CreateMatchCaseButton() function in new version?

All the best

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 21 Apr 2022, 07:58 AM
Hello, Zygmunt,  

The CreateMatchCaseButton method had been obsolete since R1 2017 with the appropriate warning. That is why it was deleted in R3 2021 SP1 (version 2021.3.1109):
https://www.telerik.com/support/whats-new/winforms/release-history/ui-for-winforms-r3-2021-sp1-(version-2021-3-1109

Feel free to use the CreateOptionsButton and/or CreateMatchCaseMenuItem methods instead. I would highly encourage you always to pay attention to the warning in your project regarding obsolete members as the warning message always contains information about the replacement. Thus, the project wouldn't be broken after upgrading to a newer version where the methods are already deleted.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView
Asked by
Zygmunt
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or