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

RadComboBox Server Side (Automatic) vs. Web Service Performance

1 Answer 58 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 04 May 2010, 07:18 PM
I noticed that in http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx you provide examples of Load on Demand Modes.  The question I have is around performance.  I see that for this application, you have included a web service as part of you project and that you are calling the service to fill the company (a service internal to the project).  There is also the Server-Side (Automatic) example that does exactly the same thing. 
I undrstand that the service can be used to call an actual external web service that can be used to fill company names.  I am not really sure if the internal service was created just as an example of how to call a service or whether there are any disctinct performance advantages/disadvantages to actually embed the service into you project as opposed to using the Server-Side (Automatic) technique.  I would appreciate if someone can clarifty this issue.

Thank You
Nathan Lacoff

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 10 May 2010, 02:10 PM
Hello Nathan Lacoff,

The demo shows that you can use a Web Service to load Items on demand - the Web Service can be external or internal. On the other hand, Automatic Load On Demand uses server-side Load On Demand.

The important difference between the two is that during a server-side Load On Demand the ViewState is sent back to the server and page life cycle events are raised whereas when using a Web Service the minimum amount of data required to complete the operation is transmitted and almost no server-side processing occurs.

So generally speaking Web Service Load On Demand is faster and better in terms of performance. As to the question of which Web Service is faster - local or external - it depends on the access to server hosting the Web Service.

I hope this helps.

Kind regards,
Simon
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox
Asked by
Nathan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or