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

[Solved] InsertCommand not firing on Hierarchy nestedtemplateview on radgrid

2 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 2
Bryan asked on 12 Mar 2013, 01:03 PM
I have a radgrid which has another radgrid inside it in a nestedviewtemplate.  What I am having a problem with is it won't fire the InsertCommand in the inner grid when I am trying to add a row.  I am dynamically loading the grids and do all inserts in the code behind dynamically too.  Inside the first nestedviewtemplate I have tabs that have usercontrols dynamically added.  Inside one of those I have a radgrid which I am needing to allow adding of records.  When you click on the add, the add window pops up and allows you to fill out the field, but when you click on the insert button on that it does nothing.  The insertcommand does not fire within that usercontrol.  What do I need to do to fix this?

2 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 15 Mar 2013, 09:39 AM
Hello Bryan,

Could you please elaborate a little bit more on your scenario? Sending us your code declaration and the related code behind will help us to pinpoint the reason for that behavior.

Regards,
Kostadin
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.
0
Bryan
Top achievements
Rank 2
answered on 15 Mar 2013, 11:28 AM
I figured it out.  It was where I was calling a method I created inside of the user control to load the datasource when I should have just let the needdatasource do it on it's own.
Tags
Grid
Asked by
Bryan
Top achievements
Rank 2
Answers by
Kostadin
Telerik team
Bryan
Top achievements
Rank 2
Share this question
or