RadControls version |
Telerik.Web.UI.2012.3.912
|
.NET version |
4.0
|
Visual Studio version |
2010
|
programming language |
C#
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
Using the usual load on demand has its downsides, especially when there are multiple combos bound to the very same data source. Hitting the datasource multiple times with each request is not exactly what one would expect. On the other hand, the server-side binding without load on demand has the performance downside, where multiple combos try to create their child items at page load and this leads to a very slow start up time.
Having this in mind, one possible solution is to ship the required data on the client at page load and only bind the combos as one opens the drop down. What I mean is that upon opening the drop down, one can bind the combo on the client using batch insert. This is kind of
LoadOnDemand loading where the data source is located on the client, so the burden of hitting the database is no longer.
Here is the code used in the sample: