Intersoft WebCombo Documentation
Advanced Load-on-Demand Data Retrieval using ISDataSourceControl
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Features Added in WebCombo 4 > Advanced Load-on-Demand Data Retrieval using ISDataSourceControl

Glossary Item Box

ISDataSource control is Intersoft's flagship data source control that extends ObjectDataSource functionality with hierarchical business object binding and automatic load on demand integration.

ISDataSource control includes many powerful features that you cannot find in standard DataSource controls that come with ASP.NET 2.0. These powerful features include advanced caching mechanism, cache to disk option, conflict detection, connect to dataset, and much more.

To learn more about the features and benefits of ISDataSource control, please refer to ISDataSource documentation.

In the previous versions of WebCombo, data retrieval is handled at component level. The load-on-demand mechanism is also handled at the component level, for instances, at the WebCombo level. This is required because both user interface and data handling contain mixed implementation.

With the new DataSource control support in version 4, WebCombo can now connect to ISDataSource control as well since ISDataSource implements the DataSource control standards and interfaces.

The load-on-demand data retrieval in WebCombo version 4 can also be used when bound to a DataSource control. However, the currently supported DataSource control for this operation is lilmited to ISDataSource control only at the time being.

Required Method Signature for Load-on-demand

When bound to a ISDataSource control and the AllowAutoQueryHandler property of WebCombo is set to false, the WebCombo will connect to a special method available in the specified Select method property of ISDataSource control.

For instances, if the Select method property is set to GetData, you are required to create a new method with the name GetData containing 3 parameters. You will also need to create one get count method that contains one parameter. The detailed signature is as following:

public DataTable GetData(int maximumRows, int startRowIndex, string queryText)

public int SelectCount(string queryText)

The supplied methods allow the DataSource control to reuse them in other pages, thus providing higher level of reusability. This concept also enables other user interface components to interact with DataSource in consistent fashion through the DataSource control.

To learn more about how to use load-on-demand feature using ISDataSourceControl, please see Walkthrough: Using load-on-demand data retrieval with ISDataSource control in WebCombo.

To learn more about binding WebCombo to ISDataSource, see Walkthrough: Binding WebCombo to ISDataSource control.

To learn more about binding multiple WebCombo instances to ISDataSource control, see Walkthrough: Binding multiple WebCombo instances to ISDataSource control.

To learn more about Load-on-demand data retrieval with ISDataSource, see Walkthrough: Using load-on-demand data retrieval with ISDataSource control in WebCombo.

See Also