Telerik Forums
Reporting Forum
1 answer
71 views
I've seen requests for a Silverlight Report Designer spread across this site, and going back several years.  I can understand the complexity of such a request, so I'm not going to ask for that.

What I would like, is the ability to capture as an event on the Silverlight Report Viewer, when a user 'clicks' on an element in a report that has an action associated with it. I feel this would be a relatively simple improvement, that would then enable me to implement my own UI to support setting properties on the selected report item.

Currently there are (I think) three implementations of IAction, being NavigateToUrlAction, NavigateToReportAction and NavigateToBookmarkAction. If it was possible to implement another, such as 'UserAction', that is raised as an event on the ReportViewer containing the report (and contains a reference to the report item that the user 'clicked'), then as developers we could capture that and implement our own logic.

Does this make sense?

Regards,

Stuart
Steve
Telerik team
 answered on 08 Aug 2011
1 answer
87 views
We're using the Telerik Reporting in a Silverlight application, and are getting a XML error when trying to run a report that has 2 columns, page breaks and is in a book and chapter format.  The error does not occur when not using page breaks.  The XML error is:

"Token EndDocument in state Document would result in an invalid XML document"

I'm not sure if this has ever been tested, but again, the error only occurs if page breaks are being used in this scenario.  If there are no page breaks being used, the error does not occur.  Is there a fix for this or a known issue?  Thanks.
Steve
Telerik team
 answered on 08 Aug 2011
2 answers
529 views
Hi,

I was wondering if it was possible to merge all the cell of a row, so this row will have only one cell that will take all the length of the crosstable. I'm not sure if I explain it cleary, so I attached a picture to this post. In this picture, you can see that I have a crosstable group by the sex of a person (so, two groups) and the first group show the actual looks of my report and the second group what it should look like. Is anybody know how to do this ?

Thank you
David
David
Top achievements
Rank 1
 answered on 05 Aug 2011
4 answers
332 views
I just downloaded the latest version of the Reporting tools and noticed that it did not install a Telerik.Reporting.XamlRendering.dll this time.  In the instructions for deploying a WPF application, it still says to include this dll but I don't have it in the reporting dlls or the WPF controls dlls.  Just want to verify that I didn't get something installed incorrectly before I get too far.

thanks!
Sergey
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
138 views
After upgrading to q2 release (for Silverlight)  i can't get ReportViewerModel from ReportViewer.

I tried to use 

var reportViewerModel = reportViewer.DataContext as ReportViewerModel;


but datacontext for this control i always null,

then I tried 

var layoutRoot = (FrameworkElement)VisualTreeHelper.GetChild(this.reportViewer, 0);
var rvm = (ReportViewerModel)(layoutRoot.DataContext);


this gives me an error :

Specified argument was out of the range of valid values.
Parameter name: childIndex


I found that before i could use ReportViewerModel constructor. After upgrade i cannot.

I'm trying to use PrintDocumentCommand. Can i do that without ReportViewerModel?
Steve
Telerik team
 answered on 05 Aug 2011
3 answers
710 views
Can the report ouputs be sent directly to .pdf without using the web report viewer?

Thanks!
Adi
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
181 views
Hi

I want to send some parameters from SL ReportViewer and want to access them in the Report Code behind. Please let me does it support to access the parameters from report code behind.

I have written teh follwoing in xaml code behibd.

private void RepViewer_RenderBegin(object sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
        {
            args.ParameterValues["key1"] = 3;
        }

And in the report i tried to acces in the following way.

public Report1()
        {
            InitializeComponent();
            var abc = this.ReportParameters[0].Value;
        }

But its showing the value of abc as null.

Please let me know whether its possible to use value in the code.

Thanks in advance
Ravindra
Steve
Telerik team
 answered on 05 Aug 2011
1 answer
64 views
Hi,

I have been tasked with converting the attached report (currently home grown Flex based app) into a Telerik Report. Please note the "image viewer" (at the top of each listing with the "Photo x of x" caption) its a control that lets the user move through a collection of images on the listing.

How would one do this type report in Telerik Reports? Is this entire report actually a sub-report (the listing detail) on then on the sub-report another sub-report (the image viewer)?

I assume the links in the report, that launch another detail report, are done with HtmlTextBox or would it be better to use NavigateTo Url?

Thanks for any suggestions.

Regards,
Steven Hildreth

Peter
Telerik team
 answered on 05 Aug 2011
1 answer
297 views
Hi,
    When using the following Like pattern I get an error.
this.Filters.Add("=Fields.column1", Telerik.Reporting.Data.FilterOperator.Like, "%GRP:**All Admins**,%");

The error Invalid LIKE pattern %GRP:**All Admins**,%

If I remove the : and , from the string then no error is produced but of course no results are returned as : and , are in the column data in the DB. If I do this SQL syntax against the DB then it returns fine
SELECT * FROM mytable where Column1 like '%GRP:**All Admins**,%';

Is there anyway to format this so your like filter will accept it?
Thanks

Peter
Telerik team
 answered on 05 Aug 2011
1 answer
217 views
Hi,
I have a report that is grouped by user that shows a list of their clients.  After each user there is a page break.  At the top of each page it is supposed to print the user name with a line break and then some text.  I cannot for the life of me get this to work as it always prints the first user on every page header.  The users in the sample screenshots are Harry, Larry, and Mary.  To demonstrate, I have put the user name in the address field to show that the grouping is working, but the page header is not.

The code I am using for the textbox in the page header is this:
this.textBox6.Value = "{Fields.UserName}\r\nCLIENT SIGN-IN SHEET";

Any help on this would be greatly appreciated.
Peter
Telerik team
 answered on 05 Aug 2011
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?