Hi,
I have created a AutoCompleteBox similar as the following:
And in the code behind as the follows:
After put some text in the AutoCompleteBox, he will alert 'the method 'GetSet' failed' all time. The breakpoint i had putted at the first rule of the webmethod don't fire. This did worked with other controls, but not with this control.
Known issue or am i doing something wrong?
I have checked the example in your documentation already.
I have created a AutoCompleteBox similar as the following:
<
telerik:RadAutoCompleteBox
ID
=
"TEST"
runat
=
"server"
AllowCustomEntry
=
"false"
DropDownPosition
=
"Automatic"
InputType
=
"Token"
RenderMode
=
"Lightweight"
Delimiter
=
","
DataTextField
=
"field_name"
DataValueField
=
"field_value"
>
<
WebServiceSettings
Path
=
"Default.aspx"
Method
=
"GetSet"
/>
</
telerik:RadAutoCompleteBox
>
And in the code behind as the follows:
Imports
Telerik.Web.UI
Imports
System.Data
Imports
System.Web.Services
Partial
Class
_Default
Inherits
System.Web.UI.Page
<WebMethod()> _
Public
Function
GetSet(context
As
RadAutoCompleteContext)
As
AutoCompleteBoxData
Return
Nothing
End
Function
End
Class
After put some text in the AutoCompleteBox, he will alert 'the method 'GetSet' failed' all time. The breakpoint i had putted at the first rule of the webmethod don't fire. This did worked with other controls, but not with this control.
Known issue or am i doing something wrong?
I have checked the example in your documentation already.