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

Q3 2012 "FormatedNumberConverter" Not Found

1 Answer 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 23 Oct 2012, 08:27 PM
Hi,

I've recently upgraded to the Q3 2012 Reporting controls.  I've found that Telerik.ReportViewer.Silverlight.dll no longer contains "FormatedNumberConverter."  I'm referencing the assembly as follows.

xmlns:Telerik_ReportViewer_Silverlight="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"

This is how my static resource is defined:

<Telerik_ReportViewer_Silverlight:FormatedNumberConverter x:Key="FormatedNumberConverter"/>

And this is how it's being used:

<TextBlock Margin="2, 0, 10, 0"
TextAlignment="Center"
Text="{Binding PageCount, ConverterParameter=of \{0\} pages, Converter={StaticResource FormatedNumberConverter}}"
VerticalAlignment="Center">

Is there a new way to handle this?



Thanks,
- Aaron

1 Answer, 1 is accepted

Sort by
0
Accepted
IvanY
Telerik team
answered on 26 Oct 2012, 01:25 PM
Hello Aaron,

Up to your question - since the FormatedNumberConverter has been removed you will have to extract the template again with Expression Blend and take the new xaml template. Currently two textboxes are used instead of one (and because of that the converter is not used anymore) and you can easily find them in the newly generated xaml if you search for Binding PageCount for example (or just PageCount).

Greetings,
IvanY
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Aaron
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Share this question
or