Telerik Forums
UI for WPF Forum
6 answers
161 views

Hi,

I'm trying to get the current visible range of values in a Candlestick chart, in order to apply different levels of sampling threshold when zoom changes (in an attempt to get adaptative sampling to solve this issue: http://www.telerik.com/forums/adaptive-sampling-zoom-scrolling). Is there any way to get this value, or the limits of the visible area, or at least know when a point is visible or not when zooming in and out?

Thanks.

Petar Marchev
Telerik team
 answered on 07 Mar 2016
4 answers
180 views

Hie 

I declared all my property description in a LocalDataSourceProvider as below. On the first run it works well, but when I uncheck and re-check my custom property are removed (CustomName and AggregateFunction) and property are not put in the right bow (RowGroupDescription instead of ColumnGroupDescriptions) as shown in the attached file. Does it exist some property to set to not lose custom description ?

            <pivot:LocalDataSourceProvider x:Key="DataSourceProvider" ItemsSource="{Binding SynthesisData}">
                <pivot:LocalDataSourceProvider.RowGroupDescriptions>
                    <pivot:PropertyGroupDescription PropertyName="ElementName" CustomName="Element Name" />
                    <pivot:PropertyGroupDescription PropertyName="LatticeType" CustomName="Lattice Type" />
                </pivot:LocalDataSourceProvider.RowGroupDescriptions>
                <pivot:LocalDataSourceProvider.ColumnGroupDescriptions>
                    <pivot:PropertyGroupDescription PropertyName="JibName" CustomName="Jib Name" />
                    <pivot:PropertyGroupDescription PropertyName="Type" />
                </pivot:LocalDataSourceProvider.ColumnGroupDescriptions>
                <pivot:LocalDataSourceProvider.AggregateDescriptions>
                    <pivot:PropertyAggregateDescription PropertyName="Percentage" CustomName="Base %" AggregateFunction="Max" StringFormat="#.00\%" />
                    <pivot:PropertyAggregateDescription PropertyName="ModifiedPercentage" CustomName="Ruled %" AggregateFunction="Max" StringFormat="#.00\%"/>
                    <pivot:PropertyAggregateDescription PropertyName="Radius" CustomName="Radius" StringFormat="#.00 m"  AggregateFunction="Max"/>
                </pivot:LocalDataSourceProvider.AggregateDescriptions>
            </pivot:LocalDataSourceProvider>
 
...
 
<pivot:RadPivotGrid x:Name="Pivot" Margin="8,8,292,7.565" DataProvider="{StaticResource DataSourceProvider}" ColumnSubTotalsPosition="Right">
            <pivot:RadPivotGrid.RowGroupsExpandBehavior>
                <pivot:GroupsExpandBehavior Expanded="False" />
            </pivot:RadPivotGrid.RowGroupsExpandBehavior>
            <pivot:RadPivotGrid.ColumnGroupsExpandBehavior>
                <pivot:GroupsExpandBehavior Expanded="False" />
            </pivot:RadPivotGrid.ColumnGroupsExpandBehavior>
        </pivot:RadPivotGrid>
 
        <pivot:RadPivotFieldList Grid.Row="0" Margin="0,8,8,7.565" HorizontalAlignment="Right" Width="283" DataProvider="{StaticResource DataSourceProvider}" />

 

JC
Top achievements
Rank 1
 answered on 07 Mar 2016
1 answer
57 views

Hi,

I am being using RadPDFViewer control in one of our Silverlight screen for loading PDF reports. While testing we observed that for large pdf files of size approx. 15mb or above (Total pages 10k+), the find dialog fails to search the specified text search after 3-4 attempts. In our case for the Report of total pages 18000, the search option navigated fine for the first 3 searched locations and then failed to proceed further. I even tried to test the same behavior on your demo site

(http://demos.telerik.com/silverlight/#PdfViewer/FirstLook) with the same report and observed that there too the find dialog failed to perform search after 3 navigations.

Could you please take a look into the issue and suggest further. We have been using the RadControls for Silverlight Q3 2013 version.

Thanks,

Gaurav

 

 

 

Mihail
Telerik team
 answered on 07 Mar 2016
3 answers
1.0K+ views

How can i set the Background to the AccentColor from Telerik Theme?

<StackPanel x:Name="Test" Background="{telerik:Office2013Resource ResourceKey=AccentColor}"></StackPanel>

This does not work.

Stefan Nenchev
Telerik team
 answered on 07 Mar 2016
1 answer
254 views
Hi!

On my RadDiagram control I have generated elements with connections. How to prevent moving connection?
I want to allow the user only to detach and attach the connection. Forbidden situation is visualised in forbiddenSituation.PNG.  If the user unpin the connection and he/she doesn't drag connection to another item, the connection shouldn't be changed. So all connections should have Target and Source element.

I use ConnectionManipulationCompleted event. When ManipulationStatus is Moved I want to Undo this, but the truth is only the previous change will be undone, not current connection moving.

I was thinking I can cache previous state of connection (target and source) on ConnectionManipulationStared and set those if on ConnectionManipulationCompleted target or source are null. But it doesn't work.
Martin Ivanov
Telerik team
 answered on 07 Mar 2016
1 answer
181 views

In my chart I have dashed grid line custom lines but they're on the top of my customized data points. This doesn't happen on the regular Y axis lines.(see Screenshot)

I don't want my grid lines annotations to be on the top of my data points - How to fix this?

Thanks!

Ivan
Telerik team
 answered on 07 Mar 2016
1 answer
106 views
How can I reset a clod control? I want an event to clear the uploaded files on subscribe of an event.
Petar Marchev
Telerik team
 answered on 07 Mar 2016
3 answers
121 views

Hi,

 

 Currently I am trying to automate a Test flow in an application which uses Telerik controls ( RadControls for WPF Q2 2013, file version: 2013.2.611.45) using Visual studio 2012 (Coded UI Test). But while trying to find the controls I am facing issues as it is finding only very few properties. [Control type, control tag, technology name = UIA].

 

Is this correct functioning of Visual studio coded UI. If not can you please guide me about what steps to follow to rectify the error. 

 

N.B. we already followed the steps mentioned in  "http://docs.telerik.com/devtools/wpf/coded-ui-support.html" to install the telerik control support dll in visual studio. But still facing issues.

 

ANy help is appreciated.

 

THanks 

AR

Tanya
Telerik team
 answered on 04 Mar 2016
6 answers
147 views

Hi,

I have two different AggregateFunctions in a GridViewDataColumn, and I would like to show the results in different objects. The first one should be shown in a TextBox, and the second, in a TextBlock.

This is the closer I got so far, but, obviously, both AggregateFunctions results are shown in a TextBox:

<telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity}" Header="Stadium capacity">
    <telerik:GridViewDataColumn.AggregateFunctions>
        <local:CapacityAggregation />
        <local:YearsLeftAggregation />
    </telerik:GridViewDataColumn.AggregateFunctions>
    <telerik:GridViewDataColumn.Footer>
        <StackPanel Orientation="Vertical">
            <telerik:AggregateResultsList ItemsSource="{Binding}" VerticalAlignment="Center">
                <ItemsControl.ItemTemplate>
                    <DataTemplate>
                        <TextBox VerticalAlignment="Center" Text="{Binding FormattedValue}" />
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
            </telerik:AggregateResultsList>
        </StackPanel>
    </telerik:GridViewDataColumn.Footer>
</telerik:GridViewDataColumn>

How can I achieve this? Any help would be appreciated.

Leonardo
Top achievements
Rank 1
 answered on 04 Mar 2016
1 answer
162 views

I'm using the RadGridView.ExportToXlsx() to export my grid to an Excel (.xlsx) file. The exported File works perfectly in Excel 2016, but in OpenOffice (Apache_OpenOffice_4.1.2_Win_x86_install_de) I get the error "Wrong Format".

The only workaround is to open the exported file in Excel and save it. After that the file can be opened in OpenOffice.

I can reproduce the error with the WPF Controls Examples Q1 2016 SP1 (Exporting to Xlsx and Pdf fromats).

 

Is there any way to solve this?

Yoan
Telerik team
 answered on 04 Mar 2016
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?