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

Property to return the count of list items?

2 Answers 74 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Yan Moura
Top achievements
Rank 1
Veteran
Iron
Yan Moura asked on 14 Feb 2020, 05:48 PM

I would like to know how to get the count of items of the list when the user types in something.

For instances, let's say that the user starts typing the "X" letter but my query doesn't returns any word with "X", so the count of items would be zero.

In this case I could display a warning message like "There is no one possible choice that matches your typing".

Any idea?

2 Answers, 1 is accepted

Sort by
0
Yan Moura
Top achievements
Rank 1
Veteran
Iron
answered on 14 Feb 2020, 06:50 PM

I am still searching and I couldn't find so far any server side property that give me this value.

There is at least any client side way to get it with JS?

Thanks!

0
Yan Moura
Top achievements
Rank 1
Veteran
Iron
answered on 14 Feb 2020, 06:56 PM
PS: I am referring to the dropdown list length of the RadAutoCompleteBox. I need to know a way of check if its > 0.
Tags
AutoCompleteBox
Asked by
Yan Moura
Top achievements
Rank 1
Veteran
Iron
Answers by
Yan Moura
Top achievements
Rank 1
Veteran
Iron
Share this question
or