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

Ra

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ignjat
Top achievements
Rank 1
Ignjat asked on 25 Aug 2011, 11:09 AM
Hello!

I mistakenly put the wrong title: "RadGrid + AJAX Manager" is the right one so if the moderator could change that.

As no one replied me on the AJAX subforum I'm also posting it here...

I have two gridviews from which one generates the data source to another one. Both gridviews have ability to edit the item (row), but editing only works in first gridview (the one that generates data for the other one), when I click on edit in the second gridview nothing happens. I've been searching the web for a while and (I believe) found out that what I need is AJAX Manager.

I've checked couple of examples/Demos from Telerik's site, but I'm still not sure how to make editing in the second gridview work.

Both gridviews have edit forms inside and both gridview's edit form types are "WebUserControl".

Could someone help me out with some suggestions. Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 30 Aug 2011, 11:09 AM
Hello Ignjat,

Indeed, you can use RadAjax to turn regular postbacks to callbacks for your case. However before ajax-enabling the page, you should make sure it works properly with full postbacks.
A possible reason for the second grid not to work properly is an issue with the data-bindng. Can you elaborate a bit more on how you bound the grids?
For more information on the possible approaches you can use can be found in the below articles:
http://www.telerik.com/help/aspnet-ajax/grid-advanced-data-binding.html
http://www.telerik.com/help/aspnet-ajax/grid-simple-data-binding.html
http://www.telerik.com/help/aspnet-ajax/grid-binding-to-declarative-datasource-controls.html

Best wishes,
Iana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
Ignjat
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or