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

Inline editing with DatePicker

2 Answers 149 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kit
Top achievements
Rank 1
Kit asked on 19 Nov 2010, 02:52 PM
Hello all,

This may be a simple question, or just impossible...

I want to display a grid with some simple data in it (text and two dates), with an edit command column on it.  When the user clicks the edit image, I want to REPLACE the row with an editable row, showing [SAVE][CANCEL] <Label><TextBox> <Label><RadDatePicker> <Label><RadDatePicker> [DELETE].

I can do most of this using the FormTemplate and creating a custom set of divs, no problems.  The part I'm having trouble with is getting the list row to turn into an editable row in the same place in the grid.

Can this be done?  Can anyone point me in the right direction?

Thanks in advance

kitster

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 20 Nov 2010, 07:16 AM
Hello,


One suggestion is using GridTemplateColumn so that you can customize the editform as per he requirement and set the EditMode as "InPlace".


-Shinu.
0
Kit
Top achievements
Rank 1
answered on 22 Nov 2010, 03:12 PM
Shinu, that's great.  I've got a couple of complications due to nested grids and custom update/delete code, but that's put me on the right track.

Many thanks

kitster
Tags
Grid
Asked by
Kit
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Kit
Top achievements
Rank 1
Share this question
or