Intersoft Support Center

Use WebCombo as Editing Control

This walkthrough shows you how to integrate a WebCombo into WebGrid.

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

  • Bind grid using AccessDatasource
  • Including the combo into certain WebGrid cells by setting the EditType and WebComboID properties.

 Prerequisites

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

  • Visual Studio 2005/2008/2010 Application.

 Step-By-Step Instructions

To create new web application and integrate WebCombo into a WebGrid.

  1. Bind WebGrid to ISDataSource control and Bind WebCombo to ISDataSource control.
    In this sample, WebGrid1 is bound to Products table, wcSuppliers to Suppliers table, and wcCategories to Categories table.
  2. Open designer by right clicking the WebGrid then choose WebGrid Designer.
  3. Set AllowEdit property to True.
  4. Go to Advanced >> RootTable >> Columns.
  5. Go to CategoryID and set the Edit Control Type to WebComboNET and select the WebCombo instance.
  6. Set the WebValueList for SupplierID and CategoryID columns.
    WCDEsigner

    WCIntegration
Previous Next