Clear entry in autocomplete

2 posts, 0 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 04 Mar 2013 Link to this post

    How to clear the entry added in autocompletebox from client side?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 Mar 2013 Link to this post

    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.
Back to Top