Telerik Forums
Reporting Forum
4 answers
101 views
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?

Stef
Telerik team
 answered on 13 Mar 2014
7 answers
991 views
I have a Windows Forms Telerik report that uses a parameter of type DateTime. When I display the report in the WinForms ReportViewer control the parameter is displayed at the top of the report with the user able to select a date, however the control does not allow them to select a time. How can I get the ReportViewer's Datetime picker to display the date and time?

I'm using version 3.2.9.1211 of Telerik.Reporting dll.
Peter
Telerik team
 answered on 12 Mar 2014
8 answers
332 views
I'm upgrading my reports and on my WPF viewer, it's just blank on the vs design view.  It's also blank when I run it.  
Just a big blank screen now
The telerik demos look ok though.  I made sure all the references were the same too.  Probably something very simple I'm missing.
Nasko
Telerik team
 answered on 12 Mar 2014
1 answer
60 views
I'm loading my report via MVC extension.  Everything seems to be working correctly, except I have an action on the report that collapses and expands some rows.  For some reason when the user does that action, the report is making a PUT request to /api/reports/clients/{x}/instances/{y}/documents/{z}/actions/{x} and is returning a 404 (which then breaks the report). 

Why is the report making that request, and why am I getting a 404?

Stef
Telerik team
 answered on 11 Mar 2014
3 answers
203 views
When exporting to csv from telerik report, i see the names of the textboxes instead of the values. i changed the parameter 'NoHeader' to true, but then i see no headers at all. How can i get the right headers?

Thanks in advance.
IvanY
Telerik team
 answered on 11 Mar 2014
1 answer
81 views


Can I have two different data types loading to the same category scale on the graph? I need to display DATE and VARCHAR2 on the x axis. Is that possible, or should I convert the date to varchar2 to have only varchar2 coming in from the database? Currently, I am planning to have number in numerical scale and date and varchar2 in category scale.
(So far the number in numerical scale and date in category scale works)
KS
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
129 views
hi,

i have the following situation, working report with some input parameters and defined groups in report.
When i add new parameter on report, code for my groups in designer.cs file disappears. When i try access them in code they always trow null Exception.
I have some code in report  ItemDataBinding event for group manipulation.

example:

if (!string.IsNullOrWhiteSpace((string)ReportParameters["DatumOd"].Value) && !string.IsNullOrWhiteSpace((string)ReportParameters["DatumDo"].Value))
            {
                this.group2.Groupings.Clear(); 
                this.group2.Groupings.AddRange(new Telerik.Reporting.Grouping[] { new Telerik.Reporting.Grouping("=Fields.Sifra") });
                //this.group2.Sortings.AddRange(new Telerik.Reporting.Sorting[] { new Telerik.Reporting.Sorting("=", Telerik.Reporting.SortDirection.Asc) });
                this.groupFooterSection2.Visible = false;
            }
            else if (!string.IsNullOrWhiteSpace((string)ReportParameters["RazdobljeOd"].Value) && !string.IsNullOrWhiteSpace((string)ReportParameters["RazdobljeDo"].Value))
            {
                this.group2.Groupings.Clear();
                this.group2.Groupings.AddRange(new Telerik.Reporting.Grouping[] { new Telerik.Reporting.Grouping("=Fields.Razdoblje") });
                //this.group2.Sortings.AddRange(new Telerik.Reporting.Sorting[] { new Telerik.Reporting.Sorting("=", Telerik.Reporting.SortDirection.Asc) });
            }

Hinata
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
1.2K+ views
I'm using the report designer.

I would like to find out whether it is possible to change the background color of a textbox based on its value.
So instead of showing the value, I'm just showing the value as the background color.
Stef
Telerik team
 answered on 10 Mar 2014
1 answer
47 views
I followed explicitly the How To instructions listed on http://www.telerik.com/help/reporting/graphhowtocreatecolumnchart.html
I found that the resulting Column Graph is not the same as the one displayed on the web page named above.
Also, I followed explicitly the How To instructions listed on http://www.telerik.com/help/reporting/graphhowtocreatepiechart.html
I found that the resulting Pie Graph displays properly in the Designer.  However, it does not display properly when I click on the Preview tab or the Html Preview tab.  Also, this Pie Graph does not display properly on my web form which references the class library containing the report which has the Pie Graph named above.  Is there any omission or inaccuracy in the How To instructions given on those web pages named above?  Thank you.
Peter
Telerik team
 answered on 10 Mar 2014
1 answer
162 views
Hello,

I am currently evaluating the use of Reporting in a project and I got a test page up and running in ASP.NET 4.5.

However, I noticed that my report (which uses a SQL Server Data Source) is executing the query using the application pool identity. Is there any way to run the query using the current user's identity?


Thanks in advance
Stef
Telerik team
 answered on 10 Mar 2014
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?