Hello friend I want to implement some drag and drop feature using telerik Silverlight controls, I have two grid on page with data from different data source.
I want to drag one grid data to another grid any suggestion?
6 Answers, 1 is accepted
Have you seen our D&D demos?Best wishes,
the Telerik team
Even I can not see any example any where , where we can drag and drop in another grid can you please help!
have one issue if you can help I am using
<riaControls:DomainDataSource AutoLoad="True" Height="0" LoadingData="billTypeDomainDataSource_LoadingData" LoadedData="billTypeDomainDataSource_LoadedData" x:Name="billTypeDomainDataSource" QueryName="GetBillTypesQuery" Width="0" Grid.Column="1" Margin="42,176,387,140">
I am getting error here
// OnDropInfo event handler
private void OnDropInfo(object sender, DragDropEventArgs e)
RadGridView destination = sender as RadGridView;
BillType draggedItem = e.Options.Payload as BillType;
if (e.Options.Status == DragStatus.DropComplete)
// (destination.ItemsSource as IList<BillType>).Add(e.Options.Payload as BillType);
I am getting error here destination.Items.Add(draggedItem);
"Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead.
I have both grid with different data source Please help on this matter"
what I am asking to you that , how to insert a new row in rad grid (without click on insert button) the grid is bounded with ria domain datasource