Intersoft WebGrid Documentation
Walkthrough: Creating Updatable Hierarchical WebGrid in Batch Update mode (Using ISDataSource)
See Also Send comments on this topic.

Glossary Item Box

This walkthrough shows you how to configure updatable hierarchical WebGrid in Batch Update mode by using ISDataSource.

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 2008 Application.

 Step-By-Step Instructions

To create updatable WebGrid in batch update mode

  1. Binding WebGrid to Hierarchical ISDataSource control.
  2. Click the SmartTag on the upper right of the WebGrid.
  3. In Behaviors field, check following list of checkboxes: Allow Add New; Allow Editing; Allow Delete; Allow Sorting [optional]; Allow Grouping [optional]; Allow Exporting [optional]; Allow Filtering [optional]; Allow Column Freezing [optional]; Allow Column Moving [optional]; Allow Column Sizing [optional]; Allow Column Selection [optional]; Allow Context Menu.



  4. Click WebGrid.NET Designer from the SmartTag menu of the WebGrid. Intersoft Component Designer 2.0 �?? WebGrid Enterprise® 7.0 will appear.



  5. On the Quick Start tab, click Popular Settings from left pane, and scroll down until the Editing section. Check Display verbose information in status bar during editing and Move selection to first editable cell after successful add operation; select AlwaysUpdate radio button on Action when the new row lost its focus and select AlwaysUpdate radio button on Action when the row lost its focus.



  6. Scroll down until the Editing �?? Batch Update section. Check the entire checkboxes option within this section.



  7. Scroll down until the Paging section. Set Paging Mode to ClassicPaging and Paging size for classic paging to 10.



  8. In the Properties, set the width of the WebGrid to 100% and height to 393px.
  9. Run the project and the WebGrid should look like following.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.