Intersoft WebCombo Documentation
Walkthrough: Using load-on-demand data retrieval with ISDataSource control in WebCombo
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 > Walkthrough: Using load-on-demand data retrieval with ISDataSource control in WebCombo

Glossary Item Box

This walkthrough shows you how to use load-on-demand data retrieval with ISDataSource control.

During this walkthrough, you will learn how to do the following:

 Prerequisites

In order to complete this walkthrough, you will need the following:

  • Access to the Microsoft Access Northwind database.
  • Visual Studio 2005 Application.

 Step-By-Step Instructions

To create new web application, bind WebCombo to ISDataSource and set load on demand

  1. Launch Visual Studio.NET 2005.
  2. Click on File menu, then select New and click Web Site.
  3. Select ASP.NET Web Site in the Template box and set Location to HTTP.
  4. Named the Web Site and click OK.
  5. Right-click on Project's name and select Add New Item.
  6. Select Intersoft AppForm in the My Templates box and named it as Walkthrough.aspx.
  7. Drag WebCombo instance from ToolBar to WebForm.
  8. Click the SmartTag on the upper right of the WebCombo.
  9. In Choose Data Source field, choose <New data source...>.



  10. In Data Source Configuration Wizard, choose ISDataSource and click OK.



  11. Select the Schema Type that you want to use and click Next.



  12. Add the table required and click Finish.



  13. Click the WebCombo instance and press F4.
  14. Set the AllowAutoQueryHandler to False.
  15. Then, right-click ISDataSource instance and choose ISDataSource Designer.
  16. Set SelectMethod to GetData.
  17. Set TypeName to dsNorthwind_ReadOnlyTableAdapters.CustomersTableAdapter.
  18. Set EnablePaging to Yes.
  19. Set the SelectCountMethod to SelectCount.
  20. Set the MaximumRowsParameterName to maximumRows.
  21. Set StartRowIndexParameterName to startRowIndex.
  22. Run the project and the combo will look like following.

See Also