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

[Solved] Grid Edit Command column Commands seperation

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Satheesh
Top achievements
Rank 1
Satheesh asked on 27 Jun 2008, 09:07 AM
Hi,

I have to place a seperator in grdi commnads, if it it showing multiple command in a column(I'm using GridEditDataItem),

Eg: Update   Cancel(Now it dsiplays as)
      Update | Cancel (Wnat to display as)

Thanks
Satheesh

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Jun 2008, 09:35 AM
Hi Satheesh,

You can design your custom edit form using the FormTemplate as shown below.

ASPX:
<EditFormSettings EditFormType="Template">  
                    <FormTemplate> 
                     <table> 
                       <tr> 
                        <td> 
                            <asp:LinkButton ID="LinkButton1"  Text="Update" runat="server"></asp:LinkButton> 
                        </td> 
                        <td> | </td> 
                        <td> 
                            <asp:LinkButton ID="LinkButton2" Text="Cancel" runat="server"></asp:LinkButton> 
                        </td> 
                       </tr> 
                     </table> 
                    </FormTemplate> 
                         
                    </EditFormSettings> 


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