Telerik Forums
Reporting Forum
1 answer
120 views
I'm sorry if this is a repeated post, but searching through the forums I don't see any recent answers.

I'd like to make a series item clickable from my chart in mvc3 and link to a different page in my application. For example, if I had a bar chart I would like to be able click one of the bars and be taken to a different report page. Does this functionality exist today?
Steve
Telerik team
 answered on 12 Dec 2012
1 answer
135 views
We're having quite a few problems with the Telerik reporting tools. Perhaps these issues are all just something we're doing wrong (and frankly we'd be happy if they were), but we're starting to believe that it's really a series of bugs in the product. This one we refer to internally as "Broken Borders".

Broken Borders
Essentially, all we really want to do is put a border around a report; a simple 1 or 2 pixel solid black line. We can do that and get it to render okay in the preview, but when we add data it suddenly will stop rendering the left and right borders correctly and, depending on how the report was rendered, will sometimes put a bottom border in where it doesn't belong.

I have attached screenshots from within Visual Studio. Unfortunately, I can't attach rendered PDFs or rendered TIFFs, but those are in my support ticket along with the source code for the report definition. If this is caused by something we're doing wrong then please tell us what it is because this happens on all of our reports. If, on the other hand, this is a limitation with the Telerik product then please let us know ASAP so that we can begin evaluating other products and start the refund process.

One work-around that was suggested is to determine the maximum number of detail rows the report could render and "pad" our source data to meet that number. Unfortunately, this work-around isn't acceptable given our situation. Using a row count is nearly impossible if word wrapping (TextWrap=True) is enabled in any of the cells and, in our case, it is.

Greg
Greg
Top achievements
Rank 1
 answered on 12 Dec 2012
0 answers
96 views
Hello,

In older thread (2007) i found it was not supported but was in queue. Is it supported now?

The target is to write a generalize code to set the size and location for all report(s) objects from the report viewer so that i should not set every report indivisually. I want to write a function which could set the size and location of any object in the report.

If It is possible the how?

Waqas Aslam
Waqas
Top achievements
Rank 1
 asked on 12 Dec 2012
4 answers
395 views
Where can I find the setting/property that will adjust the size of the margin/padding between the plot area and the chart object border.  I have included a screen shot of what I am trying to accomplish.
Michael Kniskern
Top achievements
Rank 1
 answered on 11 Dec 2012
6 answers
250 views
Hi,

We were controlling the visibility of report items in the need data source event of the report by setting the visible property on the item like :
textbox1.Visible = false;

But after upgrade to Q3 2012 today, this has stopped working .  But if we do this like below it works.
(this.Items.Find("textbox1", true)[0] as Telerik.Reporting.ReportItem).Visible = true;

Could you tell us as to why the old way wouldn't work anymore.

Thanks,
Sunita
                        
Steve
Telerik team
 answered on 11 Dec 2012
2 answers
216 views
I need to convert some fields to SI Units and some more complicated numeric to string formatting. The format builder doesn't allow for this, and I have an existing class in a different assembly that I use for this that I know already works. How can I use this formatting function that I already have to format a number to a string?

Alright, I was able to execute my custom formatting function by added a static method in my report which uses it. Then the static function in the report shows up under the MISC items in the expression builder. 

How else can I add custom functions to the expression builder? Can I do it globally? Or do I have to create custom wrappers on each and every report?
Steve
Telerik team
 answered on 11 Dec 2012
2 answers
106 views
I've read through multiple posts complaining about CSV format, but here I am regardless. The CSV exporting function does not properly export the headers of my list.

If I export the report as a PDF or any other format I'll get the header to say "Timestamp".

As a CSV file, it will say "timeStampDataTextBox" Which is obviously not what I, or ANYONE, would want.

I don't care if it is a human readable format or not, the data represented in that field is "Timestamp" not a text box. I still need the headers in my export, so turning them off completely is not useful. What I need, is to be able to format the header's text so that is appropriate.

How come by labelsGroupHeader text box values are not even displayed? How come you decide to instead use the text boxes programmatic name of the fields values instead?

From what I've seen the standard response to complaints regarding the uselessness of CSV export is met with responses claiming that they are doing it wrong and don't address the real problems people are having.
Steve
Telerik team
 answered on 11 Dec 2012
11 answers
357 views
Good Afternoon,

I am using implicit styling (not using style manager) in my current project and can't seem to be able to style the WPF report viewer with the Windows8 theme. I tried to add the resource dictionaries from the Themes.Implict Windows8 folder (ReportViewer.xaml, ReportViewerDialogBox.xaml, ReportViewerErrorStatus.xaml) without success. The resource dictionaries refer to the Silverlight report viewer and there are other references missing.

Could you please let me know how to achieve Windows8 styling for the WPF report viewer using implicit styles?

Thanks,

Mike
Mike
Top achievements
Rank 1
 answered on 11 Dec 2012
5 answers
419 views
Hi,

I try to replicate our invoices in Telerik Report but I've got some problems with Header and Footer.

I'm searching in forum but I don't find a solution for my problem, afraid there's not.

Here's my problem :our invoice can have several pages. The header and footer of the first page are different from those to the next pages.

For the header, I think I've found a solution using ReportHeaderSection for the first page and PageHeaderSection with PrintOnFirstPage property to false. But for the footer, no solution, please help me. 

I would really want to use telerik product for my company (because they are the best ;), so I need a solution.

Thanks for your help.
Steve
Telerik team
 answered on 11 Dec 2012
2 answers
160 views
The Master-Detail using Subreports documentation makes sense when your data is coming from a database, but not when you are using an ObjectDataSource and you want your subreport to be bound to a collection property on that object.

I got this working but was looking for some feedback as to if I'm doing this the hard way and also as a reference as the docs seem lacking in this area.


readonly System.Xml.XmlReaderSettings _settings = new System.Xml.XmlReaderSettings { IgnoreWhitespace = true };
 
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        Telerik.Reporting.Report report;
        using (System.Xml.XmlReader xmlReader = System.Xml.XmlReader.Create(@"Report.trdx", _settings))
        {
            var xmlSerializer = new ReportXmlSerializer();
            report = (Telerik.Reporting.Report)xmlSerializer.Deserialize(xmlReader);
        }
        report.DataSource = GetDataSource(); //List<ParentObject>
        var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
 
        var instanceReportSource = new InstanceReportSource { ReportDocument = report };
        report.Items["detail"].ItemDataBinding += ReportOnItemDataBinding;
 
        ...
 
    }
}
 
private void ReportOnItemDataBinding(object sender, EventArgs eventArgs)
{
    var detailSection = sender as Telerik.Reporting.Processing.DetailSection;
 
    using (System.Xml.XmlReader xmlReader = System.Xml.XmlReader.Create(@"SubReport.trdx", _settings))
    {
        var xmlSerializer = new ReportXmlSerializer();
        var subReport = (Telerik.Reporting.Report)xmlSerializer.Deserialize(xmlReader);
        subReport.DataSource = ((ParentObject)detailSection.DataObject.RawData).Children;
        var sr = (SubReport)detailSection.ItemDefinition.Items["subReport1"];
        sr.ReportSource = new InstanceReportSource {ReportDocument = subReport};
    }
}
Rip
Top achievements
Rank 1
 answered on 11 Dec 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?