Posted on: 6/15/2015 6:37:12 PM | Views : 578

I am creating a page containing a autocomplete textbox with a repeater. I want to filter the selected option from the dropdown, so that it won't be displayed again and can't be added to repeater. But if some one clicks on edit button inside repeater, that filtered option should appear again. I had found one link(http://stackoverflow.com/questions/11331283/jquery-ui-autocomplete-disable-selected-option-after-select ) in which similar query is prompted, but in this case list is static, whereas in my case it's dynamic like below:
function initializer(IsCredit,groupCode) { var PaymentVoucherCreditDebit =(IsCredit=1)? $("#<%=txtPaymentVC.ClientID %>") : $("#<%=txtPaymentVD.ClientID %>"); PaymentVoucherCreditDebit.autocomplete({ source: function (request, response) { var inputdata = "{'SearchText': '" + request.term + "','GroupCode': '" + groupCode + "'}" ...

Go to the complete details ...