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

Unable to see the row in edit mode when we click on Editlink in <rad:GridEditCommandColumn

3 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Krishna
Top achievements
Rank 1
Krishna asked on 16 Jul 2008, 12:21 AM
Hi,
I am trying open the record for editing when we click on the edit link in one of the column of the grid.
But unfortunatly its just refreshing and not opening in edit mode..

what may be the reason any Ideas?

thanks
-Krishna

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Jul 2008, 04:00 AM
Hi Krishna,

The Gird should behave as expected on clicking the Edit button. Sending your aspx will be more good.

  <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" Visible="true" ></telerik:GridEditCommandColumn> 



Thanks
Shinu.
0
Krishna
Top achievements
Rank 1
answered on 16 Jul 2008, 06:38 PM
Hi Srinu,

Thanks for the reply..

I have observed that if I specify the Button type as below the Edit button is now working

<

rad:GridEditCommandColumn HeaderText="Edit" ButtonType="ImageButton"

but if i dont specify the ButtonType it works for two clicks.. not sure what may be the problem

Thanks
-Krishna
0
Sebastian
Telerik team
answered on 17 Jul 2008, 06:28 AM
Hi Krishna,

This is indeed strange and unfortunately without sharing with us your code implementation it is very hard to determine the exact reason for the abnormality you encountered. Can you please check whether you use advanced binding (intercepting the NeedDataSource event of the grid) or assign data source control for grid item generator:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/NeedDataSource/DefaultCS.aspx
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/AllEditableColumns/DefaultCS.aspx

This should ensure that the editing operation will be processed automatically with any type of button defined for the edit column.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Krishna
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Krishna
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or