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

EditCommandColumn - events not firing correctly

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
esmyy
Top achievements
Rank 1
esmyy asked on 21 Sep 2012, 07:34 AM
Hello everyone,
I need some help.

I'm using the RadGrid Control like this demo with this googlelikefilter.  Now I want to be able to edit/insert/delete rows in the RadGrid.
If the EditMode is set to "EditForms" it's working perfect. But when I set the EditMode to "InPlace" the EditCommandColumn is not showing.
So I created an EditCommandColumn on  PageLoad. The problem is now that the events are not firing correctly; I always get an exception:

"Sys.WebForms.PageRequestManagerServerErrorException: An error occurred because a control with the ID ctl00 $ ContentPlaceHolder1 $ StundenRadGrid $ ctl00 $ ctl02 $ ctl04 $ Perform Insert Button could not be found, or because the same is assigned ID after postback another control. If the ID is not assigned, you should avoid this error, set the ID property of controls that cause postback events explicitly."


Can somebody help me please?
Thanks in advance,
Esmi

1 Answer, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 25 Sep 2012, 11:38 AM
Hello Esmi,

Could you please elaborate some more on the issue? Are you setting some additional styling which could cause the autogenerated InPlace buttons not to appear as expected? Or maybe you are using MasterTableView-TableLayout="Fixed" which could also be cause of the problem.

Meanwhile, you could try to replace your Auto-generated Edit column with a declarative one and see whether the problem still persists:
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn"></telerik:GridEditCommandColumn>

Please do not hesitate to share any additional detail which could be related to the issue.

Regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
esmyy
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or