I'm using RadTreeView's drag drop feature to reorder/nest items.
The control has many features that I (drop preview line, TreeViewDragVisual, and tooltip).
However, I need to execute some complex reorder/nest/unnest logic for the actual drag/drop operation (guards, pre and post).
So far, I was able to implement my guards by binding the RadTreeViewItem.IsDropAllowed.
But have no idea how to run some code before and after a drag/drop.
My questions:
1. Is it possible to invoke a command for a drag/drop operation, instead of automatically manipulating the bound collection?
2. Which events do I listen to before and after (collection is modified) a drag/drop operation? DragStarted and DragEnded events have been marked obsolete.
And if there is a workaround (custom implementation of drag/drop), can I continue using the other features of RadTreeView (drop preview line, TreeViewDragVisual, and tooltip)?
Thanks
minchew
I am creating a RadCartesianChart3D with multiple series of data. I was looking at the documentation for the control, and I didn't see a way to include a legend for the graph.
Is there a way to add a legend to the graph that just has the series name and corresponding color?
Additionally, I want to have a few graphs that use a "Heatmap" legend. I've attached a sample image of the way I want the legend to work, but it is essentially a liner gradient with labeled intervals on the gradient.
If there is an inbuilt way to include a Heatmap as the legend, I would like to know. Otherwise if someone has implemented a similar type of legend, how did you accomplish it?
Hello Telerik,
I want Rad.ComboBox to be edited, i.e. I want to be able to search and select an item inside the combobox and also in case I don't have an item inside the combo, I would like to be able to type the new value and be able to bind the new item to save later.
What happens right now is that when the item I am looking for is not in combobox, as soon as I leave the combo the value inside the combobox is lost!
My question is how can I keep the search and auto-complete ability inside the combobox and also be able to keep the typed value?
Please answer asap.
Best Regards
Kourosh


Hi,
When a RadDocument is exported to docx file, page numbering doesn't work correctly. The total count and current page number is 1 on every page. When the same document is exported in pdf the numbering is fine... I'm using the code from you sample projects - CustomField class from CustomField_WPF used in TelerikEditorDemo_WPF project.

Is there any way to have a "DockedRight" RadPane expand into the application window, like the Solution Explorer of Visual Studio? Expanding outside the window seems an inconsistent user experience to me.
I've attached an image illustrating the problem - the RadPane expanding outside the window when docked right.

Hello
How can I change animation-duration of LayoutControlExpanderGroup?
I know, how I can activate the animation, but I don't know, how I can change the duration of the animation when the expander is expanded or collapsed.
I used the AnimationSelector, but this affects no changes to the duration.
<Style TargetType="telerik:LayoutControlExpanderGroup">
<Setter Property="telerik:AnimationManager.IsAnimationEnabled" Value="True">
</Setter>
<Setter Property="telerik:AnimationManager.AnimationSelector">
<Setter.Value>
<telerik:AnimationSelector>
<telerik:ExpanderExpandCollapseAnimation
AnimationName="Expand"
Direction="In"
TargetElementName="Content"
SpeedRatio="0.2" />
<telerik:ExpanderExpandCollapseAnimation
AnimationName="Collapse"
Direction="Out"
TargetElementName="Content"
SpeedRatio="0.2" />
</telerik:AnimationSelector>
</Setter.Value>
</Setter>
</Style>
Sincerly
Alex
Hi,
My application is being developed in WPF which has lot of data being shown on different screens, opens multiple windows parallelly each window showing different and considerable volume of data in it. It is a standalone application and have to install on each user machine and handle the updates of the application. In normal to most situations the screens will end up accumulating more memory and CPU after some screens opened and eventually turning up as slow responsive. I am thinking to convert the application into application virtualization/streaming without actually installing on each machine. That way the underlying memory and CPU problems doesn't hamper the performance of my application. Any suggestions on how we can implement/convert existing application as one to virtually launchable.
e.g: Microsoft App-V
Thanks,
Chand.
If I open a view and then hit the X to collapse the view, there is a focused blurred area that won't go away. I need the items to collapse rather then close because I keep them in memory. So how can I fix this blurred box staying on the screen when setting a view to Collapsed?
The first pictures shows with View open. The second picture is how it looks if the View is collapsed. And here is the code I run to collapse it:
private void RadWindow_PreviewClosed(object sender, Telerik.Windows.Controls.WindowPreviewClosedEventArgs e)
{
Visibility = Visibility.Collapsed;
e.Cancel = true;
}
And this is how the MainWindow initializes the Fluent Theme and opens the windows when clicked:
public partial class MainWindow : RadWindow
{
public MainWindow()
{
InitializeComponent();
StyleManager.ApplicationTheme = new FluentTheme();
FluentPalette.LoadPreset(FluentPalette.ColorVariation.Dark);
FluentPalette.Palette.FontSizeS = 8;
FluentPalette.Palette.FontSize = 12;
FluentPalette.Palette.FontSizeL = 14;
FluentPalette.Palette.FontSizeXL = 16;
}
private void View1Button_Click(object sender, RoutedEventArgs e)
{
EmptyDialog emptyDialog = new EmptyDialog();
emptyDialog.Owner = this;
emptyDialog.View = new View1ViewModel();
emptyDialog.Height = 500;
emptyDialog.Width = 500;
emptyDialog.Show();
}
private void View2Button_Click(object sender, RoutedEventArgs e)
{
EmptyDialog emptyDialog = new EmptyDialog();
emptyDialog.Owner = this;
emptyDialog.View = new View2ViewModel();
emptyDialog.Height = 500;
emptyDialog.Width = 500;
emptyDialog.Show();
}
}
}
I want to add the tooltip to the expander in the TreeListView. The question is that I want the different tooltip when in expanded and collapsed status if I hover over the expander.
So I think that I have to apply the ControlTemplate triggers of the ToggleButton. Thanks for the code help.
