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

Buttons not firing on Template EditForm in Hierarchical grid

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 31 Jul 2011, 04:02 PM
I have a hierarchical grid containing the parent and a single child. Both forms use a templated editform. I've added custom buttons to both forms for handling insert/update/Cancel. However, on the child form, none of these seem to be firing the standard RadGrid events.

Any reason why this might be? I've checked the child grid's editform over and compared it to the parent grid's editform and can't see a problem.

Correction: Just looked deeper into it and the cancel button works. Pressing the insert button causes a response but doesn't affect the grid and doesn't store anything in the database.

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 04 Aug 2011, 12:47 PM
Hello David,

It is hard to determine the reason for the problem without looking at your code. However, I assume that the events are firing but the updating logic does not work. Have you tried debugging the code-behind events to see if they fire? Also, are you using automatic or manual operations.

If they are automatic, confirm that your datasource control is correctly configured.
If they are manual, remove any try-catch blocks to confirm that no exceptions are thrown. In case this does not help, paste your grid declaration and any code-behind related to it, so we can take a look.

All the best,
Tsvetina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or