This is a migrated thread and some comments may be shown as answers.

RadComboBox too slow when deployed to server

0 Answers 66 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 29 Aug 2011, 09:27 PM
Hi,

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>

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Amit
Top achievements
Rank 1
Share this question
or