Hi,
I want my radgrid to be in edit mode only when i clicks or enters the cell.I am not intented to put textbox or input columns inside the template..Is there any possible way to edit the bound column on click like editting in excel.
Help me
Thnx in advance
I want my radgrid to be in edit mode only when i clicks or enters the cell.I am not intented to put textbox or input columns inside the template..Is there any possible way to edit the bound column on click like editting in excel.
Help me
Thnx in advance
4 Answers, 1 is accepted
0
Casey
Top achievements
Rank 1
answered on 07 Mar 2012, 04:59 PM
Hi Reyma,
Do you mean that you want to be able to place individual cells in edit mode when the user clicks on that cell, or do you want to whole row to go into edit mode when a user clicks in the row?
Casey
Do you mean that you want to be able to place individual cells in edit mode when the user clicks on that cell, or do you want to whole row to go into edit mode when a user clicks in the row?
Casey
0
Remya
Top achievements
Rank 1
answered on 08 Mar 2012, 05:06 AM
Hi,
Thnx for replyng
I want the whole row be in edit mode when i enters/clicks any of the cell.
Thnx for replyng
I want the whole row be in edit mode when i enters/clicks any of the cell.
0
Accepted
Shinu
Top achievements
Rank 2
answered on 08 Mar 2012, 09:18 AM
Hello,
One suggestion is to put the cell in edit mode in ItemCommand event.
aspx:
C#:
-Shinu.
One suggestion is to put the cell in edit mode in ItemCommand event.
aspx:
<
ClientSettings
EnablePostBackOnRowClick
=
"true"
></
ClientSettings
>
C#:
protected
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName ==
"RowClick"
)
{
GridDataItem item = (GridDataItem)e.Item;
item.Edit =
true
;
}
}
-Shinu.
0
Remya
Top achievements
Rank 1
answered on 09 Mar 2012, 06:04 AM
Hi,
Thnx alot for the reply..
Thnx alot for the reply..