Hello,
I have an aspx page that dynamically creates some textboxes. I am trying to attach a autocomplete extender, but the method doesn't get called.
Code :
Private Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
If (Not Page.IsPostBack) Then
For i As Integer = 0 To 1
Dim textBoxID As String = "AutoCompleteTextBox" & i
Dim textbox As New TextBox
textbox.ID = textBoxID
textbox.Width = New Unit(250)
textbox.Attributes.Add("autocomplete", "off")
Dim autoCompleteExtender As New AjaxControlToolkit.AutoCompleteExtender()
autoCompleteExtender.TargetControlID = textBoxID
autoCompleteExtender.ServiceMethod = "GetCompletionList"
autoCompleteExtender.ServicePath = "/Default.aspx"
aut ...
Go to the complete details ...