Or is Telerik limited to only its controls and already defined wpf controls ?
<telerik:RadDocumentPane>
<ModulusFE:StockChartX></ModulusFE:StockChartX>
</telerik:RadDocumentPane>
Note: The ModulusFE controls is referencing some dll file.
4 Answers, 1 is accepted
There are no limitations in using other vendors' controls in the RadDocking. Could you please send us the stack trace of the exception. Also, in which method/class this is thrown.
We will try to research it without having to install the component, as at first sight I could find any trial versions for it.
Looking forward to your reply.
Regards,
Konstantina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
This works fine without embedding it inside any docking controls
<Grid>
<ModulusFE:StockChartX x:Name="_stockChartX" ShowAnimations="True" Grid.Row="2"
YGrid="True" FontForeground="Yellow" DisplayTitles="True" SeriesRightClick="stockChartX_SeriesRightClick" UserDrawingComplete="_stockChartX_UserDrawingComplete" LineStudyDoubleClick="_stockChartX_LineStudyDoubleClick" ChartPanelMoreIndicatorTemplate="{StaticResource ChartPanelMoreIndicator_MFE}" HorizontalLineValuePresenterTemplate="{StaticResource HorLinesValueControlTemplate}" SeriesTickBoxValuePresenterTemplate="{StaticResource TickBoxValueControlTemplate}" >
<ModulusFE:StockChartX.LicenseKey>INSERT YOUR LICENSE KEY HERE</ModulusFE:StockChartX.LicenseKey>
</ModulusFE:StockChartX>
</Grid>
But when i try to put it in a raddocument pane, my project stops working and i get a null reference exception, but if i remove it from the dock, there is no exception
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer BorderThickness="0" BorderBrush="WhiteSmoke" x:Name="radSplitContainer1">
<telerik:RadPaneGroup x:Name="radPaneGroup" BorderThickness="0" BorderBrush="WhiteSmoke" >
<telerik:RadDocumentPane x:Name="radane1" Header="Document 1">
<TextBlock TextWrapping="Wrap" Text=""></TextBlock>
<!--<ModulusFE:StockChartX x:Name="_stockChartX" ShowAnimations="True" Grid.Row="2"
YGrid="True" FontForeground="Yellow"
DisplayTitles="True"
SeriesRightClick="stockChartX_SeriesRightClick"
SeriesBeforeDelete="stockChartX_IndicatorBeforeDelete"
LineStudyRightClick="stockChartX_LineStudyRightClick"
LineStudyBeforeDelete="stockChartX_LineStudyBeforeDelete"
LineStudyDoubleClick="_stockChartX_LineStudyDoubleClick"
TrendLinePenetration="_stockChartX_TrendLinePenetration"
ChartPanelBeforeClose="_stockChartX_ChartPanelBeforeClose"
IndicatorDoubleClick="_stockChartX_IndicatorDoubleClick"
CustomIndicatorNeedsData="_stockChartX_OnCustomIndicatorNeedsData"
ChartPanelMouseLeftClick="_stockChartX_ChartPanelMouseLeftClick"
SeriesMoved="_stockChartX_SeriesMoved"
ShowInfoPanel="_stockChartX_ShowInfoPanel"
KeyDown="_stockChartX_KeyDown"
UserDrawingComplete="_stockChartX_UserDrawingComplete"
MouseMove="_stockChartX_MouseMove"
ChartScroll="_stockChartX_ChartScroll"
ChartZoom="_stockChartX_ChartZoom"
ChartPanelMoreIndicatorTemplate="{StaticResource ChartPanelMoreIndicator_MFE}"
HorizontalLineValuePresenterTemplate="{StaticResource HorLinesValueControlTemplate}"
SeriesTickBoxValuePresenterTemplate="{StaticResource TickBoxValueControlTemplate}"
>
<ModulusFE:StockChartX.LicenseKey>INSERT YOUR LICENSE KEY HERE</ModulusFE:StockChartX.LicenseKey>
</ModulusFE:StockChartX>-->
</telerik:RadDocumentPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
Thank you for the additional information.
However, in the stack trace I don't see any Telerik related code. It only points to ModulusFE one.
The RadPane is a ContentControl, you could try to reproduce the issue by putting this chart in a ContentControl and see if it works.
Regards,
Konstantina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.