Click here to Skip to main content
13,042,630 members (80,912 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hi,
I have textbox with a ajaxautocomplete extender ,as
 
 <asp:TextBox ID="TextBox1" onblur="callfunction()" runat="server"></asp:TextBox>
<ajaxToolkit:AutoCompleteExtender
     runat="server"
    ID="autoComplete1"
    TargetControlID="TextBox1"
    ServiceMethod="GetCompletionList"
    ServicePath="AutoComplete.asmx"
    MinimumPrefixLength="2"
    CompletionInterval="1000"
    EnableCaching="true"
    CompletionSetCount="20"
    CompletionListCssClass="autocomplete_completionListElement"
    CompletionListItemCssClass="autocomplete_listItem"
    CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
    DelimiterCharacters=";, :"
    ShowOnlyCurrentWordInCompletionListItem="true">      
</ajaxToolkit:AutoCompleteExtender>


function callfunction(){
alert()
}


Whenever the list is autopopulated,a sroll like a dropdownlist is displayed ,
I want the scroll to be displayed ,
If i click on the item which is populated, callfunction() function is getting not getting executed,
but the problem is if i click on the scroll, callfunction() is getting executed,

I dont want when user click on the scroll, the callfunction() should be executed.
How to find whether scroll is click or not ??.so that i can stop callfunction to be executed that time.
Posted 6-Dec-12 4:18am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100