WebGrid enhances its feature to be able to set WebCombo as Filter editing control.
In this topic, you will learn how to use WebCobmo as Filter editing control from
designer.
To use WebCombo as Filter editing control
- Bind WebGrid
to AccessDataSource (Using Products table from NorthWind data source).
- Bind WebCombo
to AccessDataSource (Using Products table as well).
- Open SmartTag. Set View Name to Products,
Display Member to ProductName and Value Member
to ProductName.
- Open WebGrid Designer and go to Advanced tab.
Select Columns and choose ProductName.
- Click See all properties. Set FilterEditType to
WebComboNET and WebComboID to the WebCombo ID.
(In this case, the id is WebCombo1).
- Run the project.