The Entry control exposes a event after ClearButton click

2 Answers 125 Views
Entry
atlanta
Top achievements
Rank 1
atlanta asked on 12 Oct 2022, 03:45 AM

The Entry control exposes  a event after ClearButton click

2 Answers, 1 is accepted

Sort by
0
Antoan
Telerik team
answered on 13 Oct 2022, 09:35 AM

Hi Atlanta,

I have logged a feature request on your behalf regarding the clear button event, you can track it's status from the following link:
https://feedback.telerik.com/maui/1583235-entry-expose-an-event-for-clear-button-clicked - In addition, I have updated your Telerik points for this request.

Workaround:

The closest thing to a workaround I can currently offer is using TextChanged. However if you use this approach and check if the Entry value is String.Empty for example,  there will be no difference in the outcome when pressing the clear button and selecting the text and pressing delete.

Let me know if I can help any further.

Regards,
Antoan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

atlanta
Top achievements
Rank 1
commented on 14 Oct 2022, 07:30 AM

Yeap this is one solution, but it is clearer to add a clear button click event
0
Duygu
Telerik team
answered on 29 Mar 2024, 11:21 AM

Hi Atlanta,

We are reviewing this feature request and we are wondering about the scenarios where ClearButtonClicked event would be used. To ensure we fully understand your requirements and can provide the most effective solution, could you please provide some specific details about the scenario you have?

For instance, it would be helpful to know:

  • Where and when the event will be invoked?
  • What specific actions or behaviors are expected when the clear button is clicked?
  • Are there any dependencies or interactions between the clear button action and the TextChanging event?
  • What is the desired outcome when the clear button is clicked in relation to text manipulation and cancellation?

By gathering this information, we can better comprehend the context of the specific use case, enabling us to develop a feature that aligns with the needs of the scenario.

Regards, Duygu Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Tags
Entry
Asked by
atlanta
Top achievements
Rank 1
Answers by
Antoan
Telerik team
Duygu
Telerik team
Share this question
or