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

Clearing tokens from client side

1 Answer 22 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 25 Feb 2013, 05:27 AM
Hi,
I want to clear the autocompletebox entries from client side using a radbutton. can anyone help?

Thanks,
Ben.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 1
answered on 25 Feb 2013, 05:37 AM
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.
Tags
AutoCompleteBox
Asked by
Ben
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or