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

Grid on a user control within a grid

1 Answer 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Iain Shaw
Top achievements
Rank 1
Iain Shaw asked on 17 Feb 2012, 08:53 PM
I am using the latest versions of the Telerik controls.

I have an aspx page (customers) on which I have a data grid which has an edit form setup tied to a user control. This works fine and I can edit individual customer items in the grid using the usercontrol and I can also add new customer items using the command item event.

On that customer item user control I have another radgrid which shows products that custom bought and I want to add new products and edit existing products again using a user control.

I setup the grid and user controls but when I try and add a new product to the inner grid nothing happens.

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 22 Feb 2012, 11:58 AM
Hello,


There are couple things that could prevent you from adding a new record in RadGrid:

  • There is a JavaScript error that is preventing the postback to the server. This could be tested if you hit the F12 key on the keyboard and click on the Console tab. Here will be listed all the JavaScript errors that had been raised, if any.
  • Another one is if you are using Ajax and the Ajax settings that are provided are not correct.

I am unable to give you more specific information until I see your page and user control declaration. If you still need assistance, please, share user control and page declaration.
Regards,
Andrey
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Grid
Asked by
Iain Shaw
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or