|Applies To:||GridView for ASP.NET AJAX|
Here at ComponentOne, we get asked all the time if our ASP.NET grids support editing data like a spreadsheet or like a WinForms grid control. In other words, developers want to know if end-users can edit all cells in all rows of the grid at once, rather than the clunky, one row at a time, editing method typically seen in ASP.NET grids. In this article I will go over an easy to understand approach to achieving this type of functionality using ComponentOne GridView for ASP.NET (C1GridView).
Part 1: Getting Started
Before you start, you'll need to have ComponentOne Studio for ASP.NET AJAX downloaded and installed. This includes the C1GridView control in the C1.Web.UI.Controls assembly.
Download Studio for ASP.NET
1. Create a new Web site project in Microsoft Visual Studio.
Note: C1GridView is supported under the 2.0 or 3.x Frameworks and can be used in either Visual Studio 2005 or 2008 environments. You can choose the framework and the environment. The code in this tutorial will be in C#.
2. If your app doesn't already have a ScriptManager on the form, drag and drop one from your Toolbox onto your page. It should be the first control within the tag of your page.