Telerik Forums
UI for WPF Forum
1 answer
314 views
A few months ago I created a boxplot chart using a slightly modified version of the method outlined here: http://www.telerik.com/help/wpf/radchart-howto-create-scatter-errorbars-and-boxplot-series.html

I added the following to the chart's XAML: 

<telerik:RadCartesianChart.Behaviors>
   <telerik:ChartPanAndZoomBehavior ZoomMode="Vertical" PanMode="Vertical"/>
   <telerik:ChartSelectionBehavior DataPointSelectionMode="Single" />
   <telerik:ChartSelectionBehavior SelectionChanged="SelectionChanged" />
</telerik:RadCartesianChart.Behaviors>
At the time this worked perfectly and the SelectionChanged event fired and executed as I wanted. 

While revisiting this code recently I found that the event no longer fires and I've spent quite some time looking through my own code to see if any of my changes could have caused this but have not been able to get the event firing again. However in the intervening time since this was last known to work I updated my Telerik version to 2013.3.1204.40. Are there any known issues in this version which could cause the SelectionChanged event to stop firing?

Thanks for the help,

Andy.
Martin Ivanov
Telerik team
 answered on 22 Jan 2014
3 answers
279 views

I have a Cartesian chart with DateTimeCategoricalAxis.
1- I want  a free space added at the end of the horizontal axis, and extends it beyond the maximum date which now available on the horizontal chart.

2 Every time the chart is initialized, it previews entire data! Is there a way to show only the last 50 data points at first time initialization of chart?

 

 

 

 

 

Pavel R. Pavlov
Telerik team
 answered on 22 Jan 2014
1 answer
130 views
The following post describes a way to asynchronously load distinct filter items:

http://blogs.telerik.com/vladimirenchev/posts/10-01-07/how-to-populate-radgridview-for-silverlight-distinct-filters-asynchronously-using-wcf-ria-services.aspx

I was able to get my code to work with this method (using a thread to retrieve the items from the DB and adding the result to the collection), but I wonder if there is any better/easier/cleaner way of doing it? The caveat with my current implementation is that I have to manually terminate the long-running thread whenever it becomes redundant (for example, when filter window closes, or when the whole grid is closed etc). 

Any idea/recommendation is appreciated. Thanks in advance.
Dimitrina
Telerik team
 answered on 22 Jan 2014
3 answers
134 views
I am having issue where a user pastes item like text or image from external application into a diagram.

When the user does this it adds an item to the diagram with text saying "Telerik.Windows.Controls.Diagram.Extensions.ViewModels.NodeViewModelBase".

How can I handle the paste action so it only pastes items onto the diagram that are valid Telerik diagram items?
And maybe allow pasted text from other applications but not anything else like images?
Pavel R. Pavlov
Telerik team
 answered on 22 Jan 2014
1 answer
302 views
How can I do the same thing of building a BrushCollection and assigning to RadStackedDataBar programmatically in code behind. Thanks for answers.

<telerik:RadStackedDataBar
    Name="xStackedDataBar"
    Grid.Row="1"
    Grid.Column="1"
    Minimum="-20"
    Maximum="20"
    ValuePath="BarValue"
    ToolTipPath="ToolTipItem"
    Margin="10,5">
    <telerik:RadStackedDataBar.BarBrushes>
        <databars:BrushCollection>
          <SolidColorBrush Color="SlateBlue" />
          <SolidColorBrush Color="AntiqueWhite" />
          <SolidColorBrush Color="Aqua" />
          <SolidColorBrush Color="Green" />
          <SolidColorBrush Color="Blue" />
 
        </databars:BrushCollection>
    </telerik:RadStackedDataBar.BarBrushes>
</telerik:RadStackedDataBar>

Martin Ivanov
Telerik team
 answered on 22 Jan 2014
1 answer
134 views
HI,

I have a visualization layer which is bind with collection of labels. Here when i zoom in or zoom out, the text got cluttered on map. I want to hide only those labels which are causing this. I have attached 3 snapshots.

In zoom-3 you can see, most of the labels are displaying, while in zoom-2, some labels which were causing the cluttering are removed/hidden, then in zoom-1 level, you can see that some of more labels are removed/hidden which were causing this cluttering.

I want this in Radmap, I have tried to implement this by getting bounding rectangle and then finding each element in this are, but didn't get any success.

Is there any way to do this in Radmap, i am looking to see any urgent help.

Thanks
Waqas Habib

Andrey
Telerik team
 answered on 22 Jan 2014
9 answers
155 views
Hi,
I have radbook which itemsource is ObservableCollection of objects of type BookPage (my object). I also have listbox with itemsource also connected with same ObservableCollection. What I try to accomplish is to use ListBox as Table of Content and to jump to particular page using it, and book pages should follow order of items in listBox. Everything works fine when I am adding or removing items in ListBox, but when I try to reorder items in listbox, sometimes one or two pages in book are lost, or to be absolutely precise, items in listbox are on correct places, pages are still in book, but I can not see them. (strange effect is showing: when I am flipping through book, that "lost" pages are "showing from nothing" and disapear to nothing  - pages are blank, I can not see any content on them. Can you suggest some solution to this problem, I suspect that something must be done with Collection, but can not figure  out what and how. Listbox always looks fine, 
Thanks in advance
Nebojsa Danilovic
Martin Ivanov
Telerik team
 answered on 22 Jan 2014
3 answers
867 views
Hello
I was looking through these forums, demos and google for any example of proper usage entity framework (for .NET 4 and .NET 4.5) with async data loading.

Lets look into requirements:
1. Database with 1 mln record (just to mention large amount of data)
2. EntityFramework (ObjectContext), with entity name "Product"
2. GridView on window.
3. DataPager assigned to GridView (100 per page)
4. BusyIndicator on window.

Requirement:
1. On window open - start asynchronous (to make UI responsible)  data loading with assigning IsBusy of BusyIndicator to true.
2. Once data loaded set IsBusy to false.
3. On page change, sort, filter - assign IsBusy to true when stared, and to false when ended.

So idea is quite simple for responsive UI. However I couldn't any example of such scenario.
The EnityFrameworkDataSource is totally synchronous and does not contain way to assign IsBusy and if there is delay UI stops responding.

Regards
Marcin
Yoan
Telerik team
 answered on 21 Jan 2014
2 answers
270 views
Hi everyone,

I am developing a WPF application in my company.
I use RadControls for WPF Q3 2013 trial version.

I use a RadDocking control in the main window.
PaneGroups's TabStripPlacement property is set to Dock.Top.
I have set up conditionnal docking to prevent a ToolWindow to contain more than one Pane.

2 close buttons are displayed for a floating Pane : 1 to close the ToolWindow and 1 to close the Pane which also closes the ToolWindow.
I want to hide the ToolWindow's close button circled in red on the attached picture 1.png.
I have read documentation about styling and theming the ToolWindow.
I think my goal can be achieved by creating a theme but I am not sure what I should do since I use the SummerTheme theme to set the StyleManager.ApplicationTheme property.

Can you please describe a way to achieve my goal ?
Thank you in advance for your help
Pascal GUERY
Top achievements
Rank 1
 answered on 21 Jan 2014
6 answers
236 views
Hello,

Is there a way to bind to IsReadOnly property of a PropertyGrid inside a CollectionEditor ?

The problem is, that I have a PropertyGrid that can edit collections. However, if I make it read-only (like this: IsReadOnly="{Binding Path=Simulation.HasResults}" ) then CollectionEditor is still editable.

Thanks!
Ivan
Top achievements
Rank 1
 answered on 21 Jan 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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?