RadComboBox too slow when deployed to server

1 posts, 0 answers
  1. Amit
    Amit avatar
    6 posts
    Member since:
    Aug 2011

    Posted 29 Aug 2011 Link to this post

    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>
Back to Top