I have quite a problem with a form that contains an autocomplete function. The page is an aspx page with c# codebehind.
On the form there is an address field that the user can type in any string address. This field is using an Ajax autocomplete extender, which suggests roadnames to the user. This works fine.
Furthermore the user has the option to add multiple address fields when clicking a button. This works fine now with Jquery. Jquery copies the table which contains, besides other fields, the address field, and "paste" it underneath the existing adress field.
Problem is, how do I attach the Ajax autocomplete extender to the address fields that gets added? Or is there another workaround to make all these fields have this autocomplete function?
Here is my simplfied code:
<asp:textbox id="TextBoxStopRoadName" runat="server" width="200" xmlns:asp="#unknown"></asp:textbox>
<asp:autocompleteextender runat="server" xmlns:asp="#unknown">
Jquery code that copies the address field:
Really hope you can help!
Thanks alot in advance :)