Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: Issue using AutoCompleteExtender with ModalPopup [27078]

$
0
0
Hi,

I used AutoCompleteExtender control within ModalPopup. When user type some value using AutoCompleteExtender and select one value from search list, I am populating value based on the user selection in a gridview. If the user removes the value and again do search using AutoCompleteExtender, and reselects the same value from search list, the ModalPopup get disappered.

I got the following error when I run the code in VS 2010,

Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'txtSearchPanel_AutoCompleteExtender' can't be added to the application.

I am invoking the txtSearchPanel_TextChanged event during item selection from AutoCompletion list. I have attached my code here. The issue occurs only if the user selects the same item from search list in the second time, if he selects different item it is working fine.

Can anyone help me to solve this issue. Thanks in advance for your help.

jm


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>