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

Drag and Drop enabled Grid inside another Master Grid

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bobby H
Top achievements
Rank 1
Bobby H asked on 28 May 2010, 06:12 PM
Hello experts,

I am new to telrik controls. I have been struggling with this past few days now.

I have a master grid that shows lets say DEPARTMENTinformation.

Then I want to have a child grid that will list all the COURSES under that dept.

I want the courses to be drag and droppable within the same grid so that we can change the priority or the order of showing.

I have implemented a grid inside a grid and enabled drag and drop on the inside grid. Then I have tried to incorporate the code behind functionality to drag and drop but I cant get the OnNeedDatasource to work right on the child grid. Once I can do that, I may be able to something like this according to the drag and drop example :

        protected void grdPendingOrders_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            grdPendingOrders.DataSource = PendingOrders;
        }


I am not sure if I am going the right direction, so I am ready to try a different approach altogether... Please provide some directions...

Thanks.
Bobby.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 03 Jun 2010, 03:14 PM
Hello Bobby,

It is hard to guess what causes the problem in your scenario. Can you please paste some more code so we can examine your approach?

By the way, we have a code-library project that demonstrates how to reorder RadGrid items.
RadGrid Items reorder using DB backend

Kind regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Bobby H
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or