Delete all tokens.

2 posts, 1 answers
  1. Sameer
    Sameer avatar
    20 posts
    Member since:
    Apr 2013

    Posted 09 Apr 2013 Link to this post

    Hi

    I am not well versed in java script. From client click of a RadButton, How to delete all the tokens in a Autocompletebox.

    Thankyou,
    Sameer
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Apr 2013 Link to this post

    Hi,

    Please try the following JavaScript.

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

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top