Telerik Forums
UI for WPF Forum
4 answers
252 views
Hi,

We need to display a dynamic tree with multiple levels as showed in attached image. Levels needs to be left aligned and will be separate from main. Both the trees will be generated dynamically, and should display with the tree layout.

I am able to generate both the graphs with no issues, but not able to place both in same graph as it supports only one. I tried to place both the graphs in two separate graphs in a grid with two columns and tried to synchronize the zoom, but that is getting distorted and overlapped.

Any way to place both the graphs in same diagram, but one with fixed value for x (as shown in the diagram) ?

Any advice/support is much appreciated.

Thanks,
Shalvin.
Petar Mladenov
Telerik team
 answered on 12 Dec 2014
3 answers
183 views
Hi all

I want to print a diagram with preview. I used the example at http://www.telerik.com/help/wpf/raddiagram-features-printing.html and my code looks like this:
var printPreviewWindow = new RadWindow();
var printPreview = new RadDiagramPrintPreview { Diagram = this.diagram };
printPreviewWindow.Content = printPreview;
printPreviewWindow.ResizeMode = ResizeMode.NoResize;
printPreviewWindow.Width = 800;
printPreviewWindow.Height = 600;
printPreviewWindow.ShowDialog();
With the RadDiagramPrintPreview the user can change printer and sheet size / orientation. But I need to scale the diagram down to "fit to page" How can I do this with the RadDiagramPrintPreview?
Regards

Dan Ove

Pavel R. Pavlov
Telerik team
 answered on 12 Dec 2014
7 answers
293 views
I have a RadGridView, with a CellValidating event handler.

It receives a GridVIewCellValidatingEventArgs argument, named e.

e has a field, newValue.

When I'm editing a cell, whether on an existing row or on a new one, the CellValidating event fires, and my event handler catches it.

When I'm editing a cell in an existing row, I can access the object being edited via e.newValue.

When I'm editing a cell in a new row, e.newValue is null.

Is this supposed to happen?  If so, what should I use instead of e.newValue?

Maya
Telerik team
 answered on 12 Dec 2014
1 answer
166 views
Hi experts,

I might have a isolated issue here. Not sure if I'm missing anything :) I have a RadGRidView and im using NumericUpdown control for data entry. The NumericUpdown control NumberGroupSeparator is not working. It doesnt show the 'comma'. If the take the same control out of the the grid, it works fine. I have attached my code here. I know by default the group separator should work, but as it was not working I also tried adding that extra numberFormatInfo xml code, but with no luck. The data member that  I'm binding is a double(should be an int)
Please let me If I'm missing anything.

Thanks in advance.
Boris
Telerik team
 answered on 11 Dec 2014
6 answers
83 views
Hi,

I have a problem with filtering here: When I set a filter descriptor, newly added rows are always inserted at the end, as long as filtering is active.
I read somewhere that filtered data is unsorted as long as there is no explicit sorting set. Is this true?

When yes: What is the best way to sort by ItemsSource order? Our customers would expect to see the rows in the same order as when no filter is set.

I would like to avoid an index in my viewmodel, because most grid operations would trigger an O(n) index update loop to update the indices.
Is there a better way?
Dimitrina
Telerik team
 answered on 11 Dec 2014
2 answers
110 views
Hello,

I have a theme set that doesn't apply to some RadTimePickers. The specified theme is applied to DateTimePickers, even though there was no theme override (no styles set or anything like that, neither on the time and datetime pickers nor the grid). 
Attached you can find a .png with the controls on which the mentioned theme doesn't apply, as well as their xaml code.
Sorin
Top achievements
Rank 1
 answered on 11 Dec 2014
2 answers
186 views
I simply want to remove the "Select all" checkbox which is above the list of distinct values when I open the filter dropdown. This should be done for one single column, not all columns. How can I achieve that?

Regards
Neils
Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Dec 2014
1 answer
93 views
I have an application which allows switching grid filtering from popup to filter row. This works fine and is great. However if a user selects a distinct filter option from the distinct list in the filter popup and then switches to filter row then the distinct option is still selected. At this point though it is not accessible as there is no way to get to that distinct list in the filter row.

A user would need to filter that distinct selection and then switch filter modes. A better solution would be for the grid to make this switch because at that point the distinct doesn't make sense anymore. The grid could also switch it to a "Equals X".
Dimitrina
Telerik team
 answered on 11 Dec 2014
2 answers
158 views
Hi
I'm trying to get RadDocking to work with persistence. I can get it to work by using "radDocking.SaveLayout()", but isn't it possible to use "persistence.Savelayout()"?

I've tried to set the persistenceid on my RadDock and there's no errors when saving/loading, but the layout is screwed up when loaded. There's duplicates of panes and not a lot of functionality. I'm using a modifed copy of the Telerik/Prism demo project.

Any ideas?

Regards Allan
Petar Mladenov
Telerik team
 answered on 11 Dec 2014
2 answers
109 views
Hi,

I'm trying to drop to header row of RadGridView, but DragDropManager.DropHandler is not executed. Also DragVisual shows picture, that is not possible to drop to header row of RadGridView. I guess RadGridView catches all drop events and handles them internally, because of Column Reorder feature.

I there a way to somehow override default behavior of RadGridView and catch drop events to header row?

I attached screenshot and sample c# project.

http://1drv.ms/1qknccu

Michal
Top achievements
Rank 1
 answered on 11 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?