Hi,
Since I´ve uptade RadControls, I can´t see the arrow when I drag and Drop between two GridViews.
As telerik said, I put this line RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy; in app file. With this, the arrow works good, but I can´t drop anything. However, this I take the executionMode from app file, the drag and drop works good, without any arrow...
Here is my GridView code
And my GridView that will receive from GridDragEntidades.
I need add some other thing?
Thanks
Since I´ve uptade RadControls, I can´t see the arrow when I drag and Drop between two GridViews.
As telerik said, I put this line RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy; in app file. With this, the arrow works good, but I can´t drop anything. However, this I take the executionMode from app file, the drag and drop works good, without any arrow...
Here is my GridView code
<
TextBlock
Text
=
"Entidades:"
telerik:StyleManager.Theme
=
"{Binding Path=DataContext.Tema, ElementName=LayoutRoot}"
/>
<
telerik:RadGridView
Name
=
"GrdDragEntidades"
BorderThickness
=
"0"
HorizontalAlignment
=
"Left"
Width
=
"500"
RowHeight
=
"20"
MaxHeight
=
"200"
Grid.Row
=
"1"
Grid.Column
=
"0"
Margin
=
"0 10 0 0"
ItemsSource
=
"{Binding OCEntidades}"
AutoGenerateColumns
=
"False"
CanUserReorderColumns
=
"False"
CanUserResizeColumns
=
"False"
SelectionMode
=
"Multiple"
IsReadOnly
=
"True"
Cursor
=
"Hand"
RowIndicatorVisibility
=
"Collapsed"
IsFilteringAllowed
=
"True"
ShowGroupPanel
=
"False"
ShowColumnFooters
=
"False"
ShowInsertRow
=
"False"
telerik:RadDragAndDropManager.AllowDrag
=
"True"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Converter={StaticResource ConcatenaTitulo}}"
Header
=
"Nome"
Width
=
"*"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
And my GridView that will receive from GridDragEntidades.
<
telerik:RadGridView
Name
=
"GrdConvocados"
Background
=
"Transparent"
ItemsSource
=
"{Binding Path=DataContext.OCGrupoParticipantesReuniao,ElementName=LayoutRoot}"
BorderThickness
=
"0"
HorizontalAlignment
=
"Left"
Width
=
"500"
RowHeight
=
"20"
MaxHeight
=
"180"
Grid.Row
=
"0"
Grid.Column
=
"0"
Margin
=
"0 10 0 0"
AutoGenerateColumns
=
"False"
CanUserReorderColumns
=
"False"
CanUserResizeColumns
=
"False"
SelectionMode
=
"Single"
Cursor
=
"Hand"
RowIndicatorVisibility
=
"Collapsed"
IsFilteringAllowed
=
"True"
ShowGroupPanel
=
"False"
ShowColumnFooters
=
"False"
ShowInsertRow
=
"False"
telerik:RadDragAndDropManager.AllowDrop
=
"True"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding EntidadesProp, Converter={StaticResource ConcatenaTitulo}}"
Header
=
"Nome"
Width
=
"0.75*"
IsReadOnly
=
"True"
/>
<
telerik:GridViewComboBoxColumn
Header
=
"Função Reunião"
ItemsSource
=
"{Binding OCFuncoesReuniao,Source={StaticResource reuConvocadosVM}}"
Width
=
"0.25*"
DataMemberBinding
=
"{Binding FuncaoReuniaoIdProp,Mode=TwoWay}"
DisplayMemberPath
=
"DesignacaoProp"
SelectedValueMemberPath
=
"IdProp"
IsReadOnly
=
"False"
>
<
telerik:GridViewColumn.ToolTipTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"Clique para definir a função do participante na reunião"
></
TextBlock
>
</
DataTemplate
>
</
telerik:GridViewColumn.ToolTipTemplate
>
</
telerik:GridViewComboBoxColumn
>
</
telerik:RadGridView.Columns
>
<
swi:Interaction.Triggers
>
<
swi:EventTrigger
EventName
=
"Loaded"
>
<
esi:CallDataMethod
Method
=
"GrdConvocados_Loaded"
/>
</
swi:EventTrigger
>
<
swi:EventTrigger
EventName
=
"SelectionChanged"
>
<
esi:CallDataMethod
Method
=
"GrdConvocados_SelectionChanged"
/>
</
swi:EventTrigger
>
<
swi:EventTrigger
EventName
=
"DataLoaded"
>
<
esi:CallDataMethod
Method
=
"GrdConvocados_DataLoaded"
/>
</
swi:EventTrigger
>
</
swi:Interaction.Triggers
>
</
telerik:RadGridView
>
I need add some other thing?
Thanks