Hi,
I am using RadComboBox that is loaded on demand using a web service:
It works fine in the development environment, but becomes too slow (take 2-3 minutes) to load. The data is not much. I beleive I am missing something in the config file. Following is the "ServiceModel" section of the config file. It was working fine with the AutoCompleteExtender.
I am using RadComboBox that is loaded on demand using a web service:
<
telerik:RadComboBox
runat
=
"server"
ID
=
"rcbPerson"
Width
=
"400px"
EnableLoadOnDemand
=
"true"
ShowMoreResultsBox
=
"true"
EnableVirtualScrolling
=
"true"
Filter
=
"Contains"
OnClientSelectedIndexChanged
=
"RefreshPerson"
EmptyMessage
=
"Type here ..."
AllowCustomText
=
"True"
>
<
WebServiceSettings
Path
=
"Autocomplete.svc"
Method
=
"GetPersons"
/>
</
telerik:RadComboBox
>
It works fine in the development environment, but becomes too slow (take 2-3 minutes) to load. The data is not much. I beleive I am missing something in the config file. Following is the "ServiceModel" section of the config file. It was working fine with the AutoCompleteExtender.
<
system.serviceModel
>
<
behaviors
>
<
serviceBehaviors
>
<
behavior
name
=
""
>
<
serviceMetadata
httpGetEnabled
=
"true"
/>
<
serviceDebug
includeExceptionDetailInFaults
=
"false"
/>
</
behavior
>
</
serviceBehaviors
>
<
endpointBehaviors
>
<
behavior
name
=
"AjaxBehavior"
>
<
enableWebScript
/>
</
behavior
>
</
endpointBehaviors
>
</
behaviors
>
<
serviceHostingEnvironment
multipleSiteBindingsEnabled
=
"true"
aspNetCompatibilityEnabled
=
"true"
/>
<
services
>
<
service
name
=
"AeroCDB.Autocomplete"
>
<
endpoint
address
=
""
behaviorConfiguration
=
"AjaxBehavior"
bindingConfiguration
=
"webHttpBindingConfig"
binding
=
"webHttpBinding"
contract
=
"AeroCDB.Autocomplete"
>
</
endpoint
>
</
service
>
</
services
>
<
bindings
>
<
webHttpBinding
>
<
binding
name
=
"webHttpBindingConfig"
>
<
security
mode
=
"TransportCredentialOnly"
>
<
transport
clientCredentialType
=
"Windows"
/>
</
security
>
</
binding
>
</
webHttpBinding
>
</
bindings
>
</
system.serviceModel
>