Telerik Forums
UI for WPF Forum
1 answer
93 views
Suppose I copied a sub-tree and pasted on another node. It got pasted. But the bounds it take as 0,0 so all the nodes and its children appear on top of each other.
To fix this, in my MyCustomPaste() function, I called the same function which telerik has called in mind map diagram demo for layout.

So my aim is to call any default layout so that nodes get realigned into appropriate position once the pasting of new nodes is done.

settings.Roots.Add(this.diagram.ContainerGenerator.ContainerFromItem(this.maintViewModel.Source.Items.OfType<object>().ElementAt(0)) as IShape);
this.diagram.Layout(LayoutType.Tree, settings);
this.diagram.AutoFit();

This layout works for the remaining of the nodes which have not been touched by my custom cut and copy function. But the rest of the children of the node which is copied, still come on top of each other. Any fix for this?
Petar Mladenov
Telerik team
 answered on 19 Nov 2014
2 answers
234 views
hi there.
i have a data source in which i have to major objects. think of it as a graph in which object type one are nodes and object type two are connections.
i produced these using rad diagram and list of my types perfectly but problems shown up while i had to object type one which had more than one connection to each other. connections are overlapping on each other. it is important for me to make them separated in order to make content of connections readable.
would you please help me to find a solution?
regards
Arian
arian
Top achievements
Rank 1
 answered on 19 Nov 2014
2 answers
185 views
Hi,

I have a styling question:

When a GridView looses focus it is possible to set the background of a GridViewRow to a color that indicates, that the selection is inactive (like Selector.IsSelectionActive). Now at the same time, I want to set the Background_Current border of a GridViewCell to an inactive color. Because there is no VisualState like "CurrentUnfocused" on a GridViewCell, I do not know how to achieve this.

I thought about binding somehow to the state of the parent row, but could not find a way. Any ideas?

Thx
Vanya Pavlova
Telerik team
 answered on 19 Nov 2014
3 answers
313 views
Hi There

Control: RadMaps
Version: 2014.3.1021.45
License: Trial

I'm trying to load ESRI Shapefile inside RadMap using InformationLayer manually, but getting this issue "The DBF file is invalid or has unsupported format."
The shapefiles which I'm referring to is running fine in other window application.

Telerik example link which I'm referring is here http://www.telerik.com/help/wpf/radmap-features-shapefiles-support.html

Here is a WPF project that can reproduce the issue: https://www.dropbox.com/s/tr2vorqfbllbn6r/TelerikRadMap.rar?dl=0

Have attached the screen shots.

Thanks in Anticipation.
Petar Mladenov
Telerik team
 answered on 19 Nov 2014
4 answers
336 views
Hi,

Is it posible to set and get custom attributes on Span, ImageInline, Table and other RadRichTextBox elements? Cant find any info in this topic.
Petya
Telerik team
 answered on 18 Nov 2014
1 answer
152 views
Hi,

When an exception is throw during cell validation in RadGridView edit mode, disables the keyboard.

I am using Telerik for WPF 2014 - Q2 (Version-2014.2.0729.45).

In the attached sample, click on the first cell (Robert), Click F2 to begin the edit mode.
Try providing a name that is already exists (Eric) and exception will be thrown.
Close the message box and try typing anything in the cell which will not accept any keyboard inputs.

Please let me know if this issue can be fixed.
Dimitrina
Telerik team
 answered on 18 Nov 2014
15 answers
188 views
The binding on isVisible on the GridViewDataColumn is breaking our application when we upgrade to the latest version of Telerik WPF Controls.


<telerik:GridViewDataColumn Width="Auto" DataMemberBinding="{Binding AbstractionTarget}" IsVisible="{Binding IsMemberLevel}"

Why is this no longer a Dependency Property? It does not make sense to cause backward compatibility issues when it can be completely avoided.
Dimitrina
Telerik team
 answered on 18 Nov 2014
1 answer
179 views
There seems to be a ScrollViewer inside the AutoCompleteBox that consumes all scroll events.
With the box inside a longer form this breaks the scrolling.
Is there a way to change that behaviour?

Regards,
Kristjan
Vladi
Telerik team
 answered on 18 Nov 2014
8 answers
334 views
When using mvvm with the diagram.  I am having an issue when using a custom style with RadDiagramConnection.   In the style I bind to the properties SourceCapType, TargetCapType and ConnectionType.  The binding works fine.  But as soon as I copy and paste RadDiagramConnection.  The binding on the pasted connection no longer updates when I change those properties in code behind. Is there something special that one must do with these properties?

Here is style I am using.

  <Style x:Key="CustomLinkStyle" TargetType="telerik:RadDiagramConnection">            
            <Setter Property="Visibility" Value="{Binding Visibility,Mode=TwoWay}"/>
            <Setter Property="Foreground" Value="Red"/>
            <Setter Property="Stroke" Value="{Binding Color}"/>
            <Setter Property="SourceCapType" Value="{Binding SourceCapType, Mode=TwoWay}"/>
            <Setter Property="TargetCapType" Value="{Binding TargetCapType, Mode=TwoWay}"/>
            <Setter Property="ConnectionType" Value="{Binding ConnectionType,Mode=TwoWay}"/>
            <Setter Property="Background" Value="{Binding Color}"/>
        </Style>
Pavel R. Pavlov
Telerik team
 answered on 18 Nov 2014
1 answer
143 views
I'm trying to load ESRI Shapefile inside RadMap using InformationLayer manually, but getting this issue "The DBF file is invalid or has unsupported format."
The shapefiles which I'm referring to is running fine in other window application.

Telerik example link which I'm referring is here http://www.telerik.com/help/wpf/radmap-features-shapefiles-support.html

Here is a WPF project that can reproduce the issue: https://www.dropbox.com/s/tr2vorqfbllbn6r/TelerikRadMap.rar?dl=0
Petar Mladenov
Telerik team
 answered on 18 Nov 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?