This is a migrated thread and some comments may be shown as answers.

Using RadGrid for data entry screens and allowing only 1 row in the grid for input data

3 Answers 209 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Uma
Top achievements
Rank 1
Uma asked on 25 Jan 2011, 12:14 AM
hi, we are planning to use RadGrid for building data input screens. We only need to have the user to input/edit multiple
fields in one aspx page. How can we configure the RadGrid control to show all the input fields for only 1 row and when the user clicks the save
the stored procedures will be called to do CRUD. We don't need to enter/edit multiple rows

Thanks

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 25 Jan 2011, 08:32 AM
Hello Uma,

If you want to display all input fields in one row, you can set EditMode property of GridTableView as 'InPlace'.
ASPX:
<MasterTableView EditMode="InPlace">


For more on Inplace editing, please go through the following documentation.
In place

Thanks,
Princy.
0
Uma
Top achievements
Rank 1
answered on 25 Jan 2011, 10:26 PM
Hi,

In RadGrid Control examples we display multiple rows from the table and the users clicks on edit button to go edit mode

But my table will only have only one row and need the ability to insert/edit that row by displaying all the columns from that row in the
edit view by default

Thanks
0
Princy
Top achievements
Rank 2
answered on 27 Jan 2011, 10:18 AM
Hello Uma,

I guess you want to display the grid row in edit mode by default. If so you can refer the following documentation which explains how to achieve this.

Put all items in edit mode without additional rebind
Default edit mode for grid items on initial load

Thanks,
Princy.
Tags
Grid
Asked by
Uma
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Uma
Top achievements
Rank 1
Share this question
or