Clearing tokens from client side

2 posts, 1 answers
  1. Ben
    Ben avatar
    31 posts
    Member since:
    Feb 2013

    Posted 24 Feb 2013 Link to this post

    Hi,
    I want to clear the autocompletebox entries from client side using a radbutton. can anyone help?

    Thanks,
    Ben.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 Feb 2013 Link to this post

    Hello,

    Attach the following JavaScript function in the OnClientClicked event of the RadButton.

    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