This is a migrated thread and some comments may be shown as answers.

[Solved] how to apply local forder assembly into the project

2 Answers 145 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yinglei
Top achievements
Rank 1
Yinglei asked on 24 Aug 2012, 05:52 AM
hi,guys



    i have a problem about how to apply local forder assembly into our project ,actually i can add the assembly  to our project ,there are three assmebly ,Telerik.Core.dll,Telerik.UI.Xaml.Chart.dll,Telerik.UI.Xaml.Primitives.dll,but it does not work when it run , the error is "Telerik.UI.Xaml.Controls.TemplateNotAppliedException: Exception of type 'Telerik.UI.Xaml.Controls.TemplateNotAppliedException' was thrown.



   at Telerik.UI.Xaml.Controls.RadControl.VerifyTemplateApplied()



   at Telerik.UI.Xaml.Controls.RadControl.ArrangeOverride(Size finalSize)



   at Telerik.UI.Xaml.Controls.RadChartBase.ArrangeOverride(Size finalSize)"  



could you guys help me solve it or tell me how to solve it ,very emergency,thanks ahead of time

Here is part code

 <telerik:RadPieChart  PaletteName="DefaultDark" FontSize="14" Foreground="Black" Height="243">

            <telerik:PieSeries ItemsSource="{Binding PieData}" RadiusFactor="0.8">

                <telerik:PieSeries.ValueBinding>

                    <telerik:PropertyNameDataPointBinding PropertyName="Amount"></telerik:PropertyNameDataPointBinding>

                </telerik:PieSeries.ValueBinding>

                <telerik:PieSeries.LabelDefinitions>

                    <telerik:ChartSeriesLabelDefinition Margin="-7"/>

                </telerik:PieSeries.LabelDefinitions>

            </telerik:PieSeries>

        </telerik:RadPieChart>

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvyatko
Telerik team
answered on 24 Aug 2012, 12:27 PM
Hello Yinglei,

 The problem you are facing is related to the fact that the chart cannot find generic.xaml file. In WinRT resource dictionaries are no longer embedded in the assemblies thus, in order to use the assemblies I can suggest to use the folder structure in the telerik binaries folder installation including their subfolders. 

All the best,
Tsvyatko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Yinglei
Top achievements
Rank 1
answered on 27 Aug 2012, 08:08 AM
thank Tsvyatko very much, you are cool guy, solved it





Tags
Chart for XAML
Asked by
Yinglei
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Yinglei
Top achievements
Rank 1
Share this question
or