Telerik Forums
UI for WPF Forum
2 answers
143 views
Hello,
I am attempting to use the CandleStick control to display a Box Plox that includes the median value. The example found at the link below indicates this should be possible but I am seeing the same behavior as the comment indicates, the custom line is drawn correctly but all of the CandleStick elements are not visible. The PART_CenterRectangle is the correct size but has an opacity of 0 while the Upper and Lower line elements simply do not seem to be sized correctly.

http://blogs.telerik.com/blogs/posts/11-04-21/how-to-create-scatter-error-bars-and-box-plot-series-with-radchart-for-sl-wpf.aspx

I have successfully created a custom 'Series' type that works as long as CreateChartItem() returns a CandleStick object, but as soon as CreateChartItem() creates any type that extends CandleStick (even if that class is completely empty) the CandleStick visuals do not appear. Thanks,
Jason
Bartholomeo Rocca
Top achievements
Rank 1
 answered on 07 Jun 2012
6 answers
427 views
How can I be sure that PDFViewer has finished loading a document when using the ReadOnDemand mode?

I've setup a small sample app and the OnDocumendLoaded event does not fire.

Is this event already part of the documentation and/or is there some sample code available?

Kind regards,
Victor
Kammen
Telerik team
 answered on 07 Jun 2012
0 answers
114 views
RadPanes be default always appear on top of the RadDocking window.
Is it possible to send them to the back after the RadDocking window?
Pieter
Top achievements
Rank 2
 asked on 07 Jun 2012
3 answers
107 views
Hi,

I have a problem with navigating through TreeListView. TLV is binded to a flat collection, that contains at least 3 columns. Focusing cells using mouse is no problem. However, using keyboard arrows I am able to navigate to cells in first column only, I cannot get at all to cells in other columns..

Why is this happening?

Regards,
Goran
Ivan Ivanov
Telerik team
 answered on 07 Jun 2012
6 answers
339 views
Hi,
how can I style the Scrollbar, which appears when I zoom into the chart?
I wanna change it to be more touch friendly.

Cheers,
Enrico
Evgenia
Telerik team
 answered on 07 Jun 2012
1 answer
121 views
Hello,

I am evaluating the Telerik diagramming component for WPF and am getting a run time error from the basic example in the documentation, http://www.telerik.com/help/wpf/raddiagram-data-code-behind.html.  In my project I have referenced the following libraries from the RadControls for WPF Q1 2012 SP1\Binaries\WPF40 directory:
Windows.Controls
Windows.Controls.Diagrams
Windows.Diagrams.Core

Am I missing needed references?

Thank you for your help.

Stack trace:
    at Telerik.Windows.Controls.RadDiagramConnection.Update(Boolean isManipulating) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Diagrams\Diagrams\Visuals\Connections\RadDiagramConnection.cs:line 563
   at Telerik.Windows.Controls.RadDiagramConnection.OnApplyTemplate() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Diagrams\Diagrams\Visuals\Connections\RadDiagramConnection.cs:line 490
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
   at System.Windows.Forms.Integration.ElementHost.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Integration.ElementHost.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Petar Mladenov
Telerik team
 answered on 07 Jun 2012
1 answer
190 views
I am trying to get my feet wet with Telerik's controls as we are poised to get the Premium Package.  I found a nice How To video here(Brian Lagunas) that is very applicable to my environment however I am struggling to use Telerik's controls as the video maker uses Infragistics.  The key sticking point is the below.

<telerik:RadRibbonWindow x:Class="IgOutlook.Shell"
                         xmlns:prism="http://www.codeplex.com/prism"
        Title="Shell" Height="300" Width="300" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
     
    <telerik:RadRibbonView Name="radRibbonView1" prism:RegionManager.RegionName="RibbonTabRegion">       
        <telerik:RadRibbonView.ApplicationMenu>
            <telerik:ApplicationMenu />
        </telerik:RadRibbonView.ApplicationMenu>
        <telerik:RadRibbonView.QuickAccessToolBar>
            <telerik:QuickAccessToolBar />
        </telerik:RadRibbonView.QuickAccessToolBar>
 
         
    </telerik:RadRibbonView>
 
    <DockPanel LastChildFill="True">
            <telerik:RadOutlookBar DockPanel.Dock="Left" Width="200" prism:RegionManager.RegionName="OutlookBarGroupRegion" />
            <ContentControl prism:RegionManager.RegionName="ContentRegion" Margin="1,3,3,3" />
        </DockPanel>
</telerik:RadRibbonWindow>

In his video there is a control for "Ribbon Window Content Host" that doesn't seem to have a counterpart in Telerik.  The code above gives me a design time exception of "The Property Content is set more then once".

Can anyone show me what I am doing wrong or missing?  This app is meant to be a proof of concept so I can justify to my boss purchasing this tool set.
Viktor Tsvetkov
Telerik team
 answered on 07 Jun 2012
6 answers
717 views

 

 

Hi,
I am using the PropertyRelation on the RadgridView like so:

<
Telerik:RadGridView.ChildTableDefinitions

 

    <Telerik:GridViewTableDefinition x:Name="gvtd"> 

 

        <Telerik:GridViewTableDefinition.Relation

 

            <telerikData:PropertyRelation ParentPropertyName="MyProperty"/> 

 

        </Telerik:GridViewTableDefinition.Relation
    </Telerik:GridViewTableDefinition>
</Telerik:RadGridView.ChildTableDefinitions>

Which works fine when it autogenerates the columns.. is there an example on how to user define the columns?


My futile tries involve:
AutoGenerateColoumns="False"
or   

AutoGenerateFieldDescriptors

 

="False"

I have tried setting the FieldDescriptors manually.

Tried to use HierarchyChildTemplate like so:

 

 

 

<Telerik:RadGridView.HierarchyChildTemplate

 

    <DataTemplate>

        <Telerik:RadGridView

 

            <Telerik:RadGridView.Columns
                <Telerik:GridViewDataColumn Header="ID" UniqueName="id"/>

                <Telerik:GridViewDataColumn Header="FirstName" DataMemberBinding="{Binding Name}"/>

            </Telerik:RadGridView.Columns>

        </Telerik:RadGridView>

    </DataTemplate>

</Telerik:RadGridView.HierarchyChildTemplate>


With the result of it loosing its binding and going back to the usercontrols dataContext.

- Martin

 

 

 

 

 

 

 

 

 

 

Vlad
Telerik team
 answered on 07 Jun 2012
9 answers
245 views
I am trying to use the RadTreeView in our application and I would like to change the background color of an item when either selected or the mouse is over it. I found some examples, but they are far more complex than I need and I'm unable to simplify them without breaking them. Is there a very simple example of just changing the background color, please?

Janene Pappas-McCrillis
Wireless Seismic
Lancelot
Top achievements
Rank 1
 answered on 06 Jun 2012
1 answer
62 views
Hello,

I am making an application in which one of the requirements is being able to change the horizontal axis from a ContinuousDateTime to a CategoricalDateTime on the click of a button. I've had no problems doing this in itself, but when I change the horizontalAxis, my ZoomPanBar vanishes from the graph. Zooming and panning still works, just the bar is gone. Is there a way to get the bar back once it has vanished? Or even better, a way for it to not vanish at all?

Worst case scenario that the above cannot be done, could you provide some code that would allow a ZoomPanBar to control the zoom and pan of a chart in the same application?

Thanks in advance,
Dan
Giuseppe
Telerik team
 answered on 06 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?