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

EditColumn Button In Top Position

2 Answers 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DrGiorgini
Top achievements
Rank 1
DrGiorgini asked on 31 Mar 2011, 05:30 PM
Hi all,
i'm using a RadGrid and i'm managing the operations of insert / update / delete operations by automatically provided by the grid.
When you are in edit / insert i need that buttons of confirmation / cancellation are positioned not only in bottom position but also at top of the form.

Here my code:

<EditFormSettings ColumnNumber="3" CaptionDataField="codice_Astuccio"
    CaptionFormatString="Modifica le caratteristiche del codice astuccio: {0}"
    InsertCaption="Nuovo astuccio">                                                        
   <FormTableItemStyle Wrap="False"></FormTableItemStyle>
    <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
    <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"
        Width="1024px" />
    <FormTableStyle CellSpacing="0" CellPadding="2" Width="330px" Height="110px" BackColor="White" />
    <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
    <EditColumn ButtonType="ImageButton" InsertText="Inserisci astuccio" UpdateText="Modifica astuccio"
        UniqueName="EditCommandColumn1" CancelText="Cancella le modifiche">
    </EditColumn>
    <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
</EditFormSettings>

Thank in advance at all,

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 01 Apr 2011, 08:49 AM
Hi,


One suggestion to achieve the appearance is using "FormTemplate" edit form which helps you to customize the editform as per your requirement.


Check the demo to know more about the FormTemplate edit form.
Form Template Edit Form



Regards,
Princy.
0
DrGiorgini
Top achievements
Rank 1
answered on 04 Apr 2011, 06:11 PM
Hi,
i already knew this solution...but I did not want to do a refactoring of the code...
Thanks anyway,
Tags
Grid
Asked by
DrGiorgini
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
DrGiorgini
Top achievements
Rank 1
Share this question
or