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

radgris inplace edit,delete in codebehind

3 Answers 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rock
Top achievements
Rank 1
rock asked on 14 Jun 2010, 12:48 PM
hi,
I m new in telerik control.

i have radgrid and in iwant inplace edit,delete,insert.
for edit ,delete column sholud not be separate. it should have icon(edit,delete) in single colum. so any body can give me example.how it will do.
thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 14 Jun 2010, 01:15 PM
Hello Rock,

In order to achieve this, you can use GridTemplateColumn with two ImageButton for edit and delete in ItemTemplate.

ASPX:
 <telerik:GridTemplateColumn> 
       <ItemTemplate> 
           <asp:ImageButton ID="btnEdit" runat="server" CommandName="Edit" /> 
           <asp:ImageButton ID="btnDelete" runat="server" CommandName="Delete" /> 
        </ItemTemplate> 
 </telerik:GridTemplateColumn> 

Regards,
Shinu.



0
rock
Top achievements
Rank 1
answered on 16 Jun 2010, 11:12 AM
Thank u shinu ur instant reply.
but i don't know In-Place editing for radgrid in Item_Command event.
and CommandName is only use when we use Item_Command event .
so.....:(
0
rock
Top achievements
Rank 1
answered on 16 Jun 2010, 11:17 AM
one more question about rad grid.
how i can add chheckbox in radgrid only and only when i press add new record button.
and  insert checkbox only single row in which we want insert.
Tags
General Discussions
Asked by
rock
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
rock
Top achievements
Rank 1
Share this question
or