Telerik Forums
UI for WPF Forum
1 answer
184 views
Can someone please help me set the timeline to show continuous seconds. At the moment it resets to zero every 60 seconds but I need the time line to continue, I.E. 0 to 300 seconds?
Polya
Telerik team
 answered on 23 Apr 2014
1 answer
243 views
Hi,

I used RadCartesianChart with a custom palette and I want to bind the color of the series to the axis. Here is (part of) my XAML:

01.<telerik:RadCartesianChart x:Name="Chart" Palette="{StaticResource ChartPalette}">
02. 
03.    <telerik:RadCartesianChart.SeriesProvider>
04.        <telerik:ChartSeriesProvider Source="{Binding SeriesProvider, ElementName=Control}">
05.            <telerik:ChartSeriesProvider.SeriesDescriptors>
06.                <telerik:CategoricalSeriesDescriptor ItemsSourcePath="ItemsSource" CategoryPath="Time" ValuePath="Value">
07.                    <telerik:CategoricalSeriesDescriptor.Style>
08.                        <Style TargetType="{x:Type telerik:LineSeries}">
09.                            <Style.Triggers>
10.                                <DataTrigger Binding="{Binding UseLogarithmicAxis}" Value="True">
11.                                    <Setter Property="VerticalAxis">
12.                                        <Setter.Value>
13.                                            <telerik:LogarithmicAxis HorizontalLocation="Right" LineStroke="{Binding LogarithmicAxisBrush}" />
14.                                        </Setter.Value>
15.                                    </Setter>
16.                                </DataTrigger>
17.                            </Style.Triggers>
18.                        </Style>
19.                    </telerik:CategoricalSeriesDescriptor.Style>
20.                </telerik:CategoricalSeriesDescriptor>
21.            </telerik:ChartSeriesProvider.SeriesDescriptors>
22.        </telerik:ChartSeriesProvider>
23.    </telerik:RadCartesianChart.SeriesProvider>
24. 
25.    <telerik:RadCartesianChart.HorizontalAxis>
26.        <telerik:DateTimeContinuousAxis />
27.    </telerik:RadCartesianChart.HorizontalAxis>
28.     
29.    <telerik:RadCartesianChart.VerticalAxis>
30.        <telerik:LinearAxis />
31.    </telerik:RadCartesianChart.VerticalAxis>
32. 
33.</telerik:RadCartesianChart>

You can see that on line 13, I used a dependency property LogarithmicAxisBrush, which I will set the value in the code, as a workaround. But I want to bind the color of the series to the axis.

Thank you!
Petar Marchev
Telerik team
 answered on 23 Apr 2014
1 answer
242 views
I want to add a button into the trackball information that is displayed.  I can add a button and it displays but the MouseLeftButtonUp never fires.  Also, in the code behind I cannot access "btnDD" in the example below.  

            <telerik:RadCartesianChart.Behaviors>
                <telerik:ChartTrackBallBehavior ShowTrackInfo="True"
ShowIntersectionPoints="True"
TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated"/>
            </telerik:RadCartesianChart.Behaviors>


            <telerik:RadCartesianChart.TrackBallInfoStyle>
                <Style TargetType="telerik:TrackBallInfoControl">
                    <Setter Property="HeaderTemplate">
                        <Setter.Value>
                            <DataTemplate>
                                <StackPanel>
                                <TextBlock Text="{Binding}" 
  FontSize="14"
  Foreground="Blue"/>
                                <Button x:Name="btnDD" MouseLeftButtonUp="btnDD_MouseLeftButtonUp">View Files</Button>
                                </StackPanel>
                            </DataTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </telerik:RadCartesianChart.TrackBallInfoStyle>
Petar Marchev
Telerik team
 answered on 23 Apr 2014
5 answers
713 views
I'm trying to use the RadTileView and RadFluidContentControl and I'm getting the error "'Infinity' is not a valid value for property 'Width'." when I change the underlying data that the RadTileView is bound to using ItemSource.

UPDATE: It renders the first time fine and shows the correct tiles bases on the databound collection, but if I change the underlying datasource that is when I receive the error

Any suggestions welcome, cheers.

System.ArgumentException was unhandled
  Message='Infinity' is not a valid value for property 'Width'.
  Source=WindowsBase
  StackTrace:
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at System.Windows.FrameworkElement.set_Width(Double value)
       at Telerik.Windows.Controls.RadTileView.AnimateItemSize(RadTileViewItem item, Size targetSize) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 927
       at Telerik.Windows.Controls.RadTileView.<AnimateItemSizes>b__29(RadTileViewItem c) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 1060
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
Zarko
Telerik team
 answered on 22 Apr 2014
1 answer
137 views
Hi there,

is there a way to not have "LoadLayout" load everything at once but in a sequential way one pane after the other has finished? My Problem is that my application can host many different types of views in a dock manager and some of those views are quite complex. Loading them alone has quite good performance but when the app deserializes the layout and 10 or more panes are created at once, the app hangs for some seconds before the views actually start doing something (I designed them to show what they are doing during initialization - like e.g. filling data into a data grid).

The app is using a bound collection of view models in the dock manager (like from the Prism example), which are then translated to views via data templates. That could probably make it complicated to find out when a pane is completely loaded, I guess...

The described problem is not really a showstopper but it would be great if I could make the app startup a little bit smoother since responsiveness is a big topic in todays applications.

Regards,
Marcel 
George
Telerik team
 answered on 22 Apr 2014
6 answers
423 views
Hi,

I am trying to make user control in wpf where I have to drag and drop a item from RadPanelBar to RadTileView and vise versa. 
I am using telerik RadDragandDropManager class for drag and drop
i have set allowDrag and allowDrop property radpanelbar ,radpanelaritem, radtileview,radtileviewitem.

I am able to drag an item from tileview to panelbar It is working fine.

But when I drag an item for panelbar to tile view I get a null reference exception. This exception comes from radtileview control code file.

Now form my analysis I came to know that radtileview does not allow  to drag any item on it through RadDragandDropManager.

If you can provide me any example for this
Aleksey
Top achievements
Rank 1
 answered on 22 Apr 2014
3 answers
306 views
I'm using a VisualizationLayer along with MapShapeData to display road routes data on a RadMap.  Since the road routes have many waypoints, I used PolylineData to represent the data, and set up the layer with a collection of these items.

My problem is that at *detailed* zoom levels, the performance of the map suffers greatly.  If I zoom in to a single polyline at the most detailed level, I see the polyline rendering as a series of dozens of individual blurred strokes rather than as a connected line.  

My shot-in-the-dark guess would be that the calculation and rendering of all of these individual items is what causes the map to slow down, and that the rendering switches from a standard polyline to this new schema at a certain zoom level.  Do you know why this is happening and how I might fix it or work around it?
Andrey
Telerik team
 answered on 22 Apr 2014
2 answers
178 views
Working with version 2014.1.224.45 timeline. We are using groups to breakout timeline events into classifications.  My client asked if we can nest the groups (child groups).

For example, the high level group might be "Communications" and then we would have three expanders/groups under that which might have 3 different employee name groups. then under each employee name we would display via timeline events the communications.

Are nested groups possible?  If so, how?
Robert
Top achievements
Rank 1
 answered on 22 Apr 2014
3 answers
99 views
I have an application where I use several RadDocumentPanes in the DocumentHost to keep various content. The users are (obviously) able to move panes around as they like. When the application closes the current layout is saved and restored automatically when the application is started again.

When I initially open the application and no saved layout exist the panes in the DocumentHost are showed in the default order. When I save that layout the display order is preserved perfectly in the saved XML output. All is good. If I however start to move panes around within the DocumentHost or move a pane out of the DocumentHost  and back again then the saved layout will not reflect the order in which the panes are displayed. And on load they will obviously be restored in a different order.

This can actually be reproduced easily using the Telerik WPF demo application. Perform the following operations using the "Save/Load Layout" example:

1. Open the example, press the "Save Layout" button and inspect the saved XML in the "Layout XML" pane. Note that the order in the XML of the DocumentHost part reflects the order which the two panes ("Layout XML" and "Document 1") are shown. All is good.
2. Move the "Panel Top 1" inside the DocumentHost and dock it at the end. Save the layout again and check the order of the XML. All is still good.
3. Move the "Panel Right 1" inside the DocumentHost and dock it somewhere in the middle. Save the layout again. Note that the saved order no longer reflects the displayed order.
4. Press the "Load Layout" button and note that the order in the DocumentHost is now switched around.

This problem does as far as I have been able to detect only affect the DocumentHost and not the other pane groups.

The problem is obviously highly annoying and I would like some pointers as to how I can either solve or work around it.
Kalin
Telerik team
 answered on 22 Apr 2014
3 answers
211 views
Hi,

is there an easy way to add a drop shadow effect to the docking toolwindow?

Marcel
Kalin
Telerik team
 answered on 22 Apr 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?