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

[Solved] Change position of the Edit form.

3 Answers 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 24 Aug 2009, 08:36 PM
Hi all,

I have a requirement that the insert / edit form be displayed below the grid. Is this possible?  By default, the grid edits according to the place it's found in the grid.  The inserting is also always on the top of the grid is it possible to move the inserting form to the bottom?

Please let me know if you need a clarification on what I've asked.

Thanks,
Josh

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 25 Aug 2009, 03:48 AM
Hello Josh,

The insert form can be displayed at the bottom of the grid by setting the property InsertItemDisplay to Bottom for the mastertableview as shown below:
aspx:
   <telerik:RadGrid DataSourceID="SqlDataSource1" ID="RadGrid1" runat="server">                        
               <MasterTableView InsertItemDisplay="Bottom" DataSourceID="SqlDataSource1" CommandItemDisplay="Top">                

If you also want to display the editform at the bottom then you can probably use an external form, perform the required operations and update the database.

Thanks
Princy.
0
Josh
Top achievements
Rank 1
answered on 25 Aug 2009, 01:17 PM
Princy,

I started to reply and realized I had not put the code in the right place.  
The input form for the new record worked well, thanks.

I need some time before I get back to you on implementing an external form.

Josh
0
Josh
Top achievements
Rank 1
answered on 25 Aug 2009, 06:47 PM
Princy,

I noticed that the bottom row in the grid edits exactly where I would like to put the edit form.  Is it possible to force the edit to occur at this place regardless of which row is selected?

I figured I would give this a shot first then if this isn't possible try some other route.

Josh
Tags
Grid
Asked by
Josh
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Josh
Top achievements
Rank 1
Share this question
or