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

Silverlight Report Viewer Error on Action

4 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 23 Jul 2013, 05:37 PM
I just upgraded my silverlight project to the latest downloads

Silverlight - v2013.2.611.1050
Reporting Q2 2013 7.1.13.612

Now one of my reports is no longer working.
When i view the report in my silverlight project, i am getting the following error

Error: System.Windows.Markup.XamlParseException : The attachable property 'Action' was not found in type 'Interactivity'. [Line: 1 Position: 4919]
   at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, Boolean expandTemplatesDuringParse)
   at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers)
   at System.Windows.Markup.XamlReader.Load(String xaml)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.GetUIElement(Byte[] buffer)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnPageLoaderPageLoaded(Object sender, PageInfoArgs e)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.PageLoader.OnPageLoaded(Object sender, PageInfoArgs args)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.PageLoader.OnGetPageCompleted(Object sender, GetPageEventArgs e)


I have identified the cause of the error to the ".Action" of a textbox.
If i remove the Action, the report will generate as normal.
This error happens if i navigate to another report OR if i simply navigate to a URL

navigateToUrlAction1.Url = "http://www.google.com";
this.loansDataTextBox.Action = navigateToUrlAction1;


If i Preview the report in Design view, the Report WILL generate correctly, so it seems to be related to the View Control

This is my only report that is broken after the update.  All the other reports work as expected.
Any ideas on how to fix?

4 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 24 Jul 2013, 10:39 AM
How did you upgraded your project. Have you used the Upgrade Wizard?
0
Eric
Top achievements
Rank 1
answered on 24 Jul 2013, 12:52 PM
I did use the upgrade wizard for the Report and the Silverlight controls.
However i did figure out late last night, that the Report Viewer reference was NOT getting updated.
It was still looking at the Q2 dll. 
I manually updated that control and now it is working as expected.
0
Jason
Top achievements
Rank 1
answered on 10 Mar 2014, 07:32 PM
I am getting the error below. i have used the wizard to upgrade to Q1 2014.  I have also manually changed the dll files.  

Error: System.Windows.Markup.XamlParseException : The attachable property 'Action' was not found in type 'Interactivity'. [Line: 1 Position: 1304]
   at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, Boolean expandTemplatesDuringParse)
   at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.GetUIElement(Byte[] buffer)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnPageLoaderPageLoaded(Object sender, PageInfoArgs e)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.PageLoader.OnPageLoaded(Object sender, PageInfoArgs args)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.PageLoader.OnGetPageCompleted(Object sender, GetPageEventArgs e)





0
Stef
Telerik team
answered on 13 Mar 2014, 05:41 PM
Hi Jason,

You need to update the UI for Silverlight controls XAML templates and assemblies, from the product folder of the UI for Silverlight. Then to add only the Telerik.ReportViewer.Silverlight.xaml from the Telerik Reporting product folder.

For more details, please check the following forum thread: ReportViewer shows a blank window (the linked articles relate to the Silverlight ReportViewer as well).

Regards,
Stef
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
General Discussions
Asked by
Eric
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Eric
Top achievements
Rank 1
Jason
Top achievements
Rank 1
Stef
Telerik team
Share this question
or