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

Clear entry in autocomplete

1 Answer 254 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 04 Mar 2013, 12:15 PM
How to clear the entry added in autocompletebox from client side?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Mar 2013, 12:29 PM
Hello Tina,

Please try the following JavaScript to clear RadAutoCompleteBox items from client side.

JavaScript:
<script type="text/javascript">
    function clearItems(sender, args) {
        $find("RadAutoCompleteBox1").get_entries().clear();
    }
</script>

Thanks,
Princy.
Tags
General Discussions
Asked by
Tina
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or