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

e.Text not clearing out in ItemsRequested event

2 Answers 74 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 15 Nov 2011, 10:00 PM
I am checking the e.Text value (RadComboBoxItemsRequestedEventArgs) in the ItemsRequested handler for a RadComboBox.  If I type in one or more characters, it works fine.  As I delete them, it works fine.  Once I delete the last character, however, the e.Text property retains the last character entered.

For example:
Enter "s" -> e.Text = "s"
Enter "sm" -> e.Text = "sm"
Delete "m" ->e.Text = "s"
Delete "s" (textbox is empty) -> e.Text still = "s"

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 16 Nov 2011, 04:06 AM
Hello Steve,

I have tried the same and it worked as expected.I am using the version 2011, 2, 915, 35.
Take a look into the following documentation.
ItemsRequested

Thanks,
Princy.
0
Steve
Top achievements
Rank 1
answered on 16 Nov 2011, 05:28 AM
Princy,  thanks for the quick response.  I finally found the issue.  I didn't realize the MinFilterLength setting was set to 1.  That was preventing things from working right.  I removed it, and everything worked fine.
Tags
ComboBox
Asked by
Steve
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Steve
Top achievements
Rank 1
Share this question
or