This is a migrated thread and some comments may be shown as answers.

ClearButton... TextChanged Event

3 Answers 82 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Morgan
Top achievements
Rank 1
Iron
Morgan asked on 27 Jun 2012, 12:47 AM
When does the the ClearButton fire off the TextChanged Event, once it is tapped?  From what I am seeing it appears to only fire after the control has lost focus.

Tried working around this with a Method call when ever the Text property binding is updated but it only seems to update once the control has lost focus.

Let me know if you want an example.  I will have to whip one up.

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 02 Jul 2012, 07:47 AM
Hello Morgan,

Thank you for contacting us.

You are right that the TextChanged event should fire once the ClearButton is tapped and this is exactly what happens when we test it on our side. I have prepared a sample project that you can also test and see if there is anything different with the way that you test it.

Let me know if you still experience difficulties with RadTextBox.

Kind regards,
Todor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Morgan
Top achievements
Rank 1
Iron
answered on 02 Jul 2012, 04:13 PM
From what I am seeing with Data Binding it doesn't bubble the action down to the Text property until the control looses focus.  This is based on an application that is using CM as the mvvm framework.

I will see if it will dupe in a sample. 

I am not using the Hot Fix that you have on internal builds... should I be?
0
Todor
Telerik team
answered on 04 Jul 2012, 12:33 PM
Hello Morgan,

I am testing with the official Q2 2012 release, so shouldn't expect any different behavior regarding the clear button in the internal builds released so far. It'd be really nice if you could prepare a sample project to illustrate your issue so we can debug it on our side and find the cause.

Thank you for your time.

Greetings,
Todor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TextBox
Asked by
Morgan
Top achievements
Rank 1
Iron
Answers by
Todor
Telerik team
Morgan
Top achievements
Rank 1
Iron
Share this question
or