Hi,
you can access the control with $find.
example:
this is the handlers which call the control internal functions
Code:
<script language="JavaScript" type="text/javascript">
function testShow(ev) {
$find('<%=StateAASE.ClientID%>').ShowSuggestions(ev);
}
function testHide(ev) {
$find('<%=StateAASE.ClientID%>').HideSuggestions(ev);
}
</script>
in the html just call this handlers like:
Code:<a href="#" onclick="testShow(event);return false;">Show</a> <a href="#" onclick="testHide(event);return false;">Show</a>
The control tag is from demo project without changes:
Code:<cc1:AdvancedAutoSuggestExtender SuggestOnEmptyField="true" TargetControlID="StateTextBox" ServiceUrl="~/Suggestions.asmx/StateSuggest" ID="StateAASE" SuggestionsDivId="suggestionsDiv" runat="server" OnClientItemSelected="State_OnSelect" />