Telerik Forums
Reporting Forum
1 answer
462 views
Hello,

We are using aspnet report viewer.
However we have some difficulties to auto size the viewer to fit content of the browser when it is resized by end user.
I can successfully auto size on the width using CSS and width = 100% but not the height.
Is there anyway to auto size the viewer height and width to fit content of the browser?

Here is the code:

    <form id="ReportManagement" runat="server" style="width: 100%">
    <div id="content" >
        <telerik:ReportViewer ID="ReportManagementViewer" runat="server"    
             Width="100%" ViewMode="PrintPreview"  Height="690px"
             ParametersAreaVisible="False" ShowParametersButton="False"
            ShowDocumentMapButton="False" ShowPrintPreviewButton="False" 
            ZoomPercent="200" ShowZoomSelect="False" ShowHistoryButtons="False">
        </telerik:ReportViewer>
    </div>   
    </form>

Width of the viewer can resize to fit the with of the browser, but it doesn't work for the height.
Thanks for your help
Regards

Joël
Steve
Telerik team
 answered on 29 Sep 2012
1 answer
84 views
Ik have a report with a chart which is showing sales.
This report has a couple of parameters:
  • customer
  • year
  • period from (month)
  • period to (month)

when I select a period from which is larger as 1, the chart is showing strange behaviour (see image 1). In this example, I am using the following parameters: from period 3 (march) till period 6 (jun). A total of 4 months.

  • the axis labels are all right;
  • the amount of months is ok
  • but strangely the months januari and februari are shown as zero values in the graph. Because the chart is showing 4 months, the values for may and june are not shown.

When I preview the datasource, I get a perfect dataset, and only the range between the selected periods are returned.

What could be the problem? Thanks in advan
Elian
Telerik team
 answered on 29 Sep 2012
1 answer
110 views
How can I format the parameters area on the top of a report?
Steve
Telerik team
 answered on 29 Sep 2012
1 answer
186 views
Hi, we use the wcf service to render reports to pdf for emailing within our application, as well as the silverlight report viewer for viewing them on screen.  If an image within a report is invalid somehow (we occasionally have zero byte image files generated by another part of our application), then within the silverlight app report viewer it shows in the picture box as being invalid. 

However, when using the wcf service the error gets propogated all the way back into the results of the render operation, in the Errors array, and in the HasErrors boolean.  I check the HasErrors boolean, and the content of the Errors array to report rendering failures, and do not email the resulting rendered document if any errors exist.

This isn't really an error from the point of view of not emailing the report as far as we are concerned.  Is there any way to reliably discriminate between fatal errors (whatever they might be), and other minor errors like this?  If the report has rendered at all we would still want to email it, although we could still report on minor errors in our logging.  Could I check on the DocumentBytes property and see if that's non-null and has a size of greater than zero?

Alternateively is there some way to get the picturebox to completely suppress the error and not throw its own exception under this particular circumstance?

Thanks,

Colin.
Steve
Telerik team
 answered on 28 Sep 2012
1 answer
180 views
We were using a fairly simple method to assign DataTables as SubReport DataSources, so that a report with multiple sub-reports can be given data as a result of a single database call.

foreach (Telerik.Reporting.SubReport item in ReportLib.ReportBase.GetDescendantsByType(this.Report, typeof(Telerik.Reporting.SubReport)))
{
    item.ReportSource.DataSource = ds.Tables[ReportLib.ReportBase.GetDataSetIndex(item.Name)];
}

I updated to the 2012 Q2 release in order to get the PageCount bug fix, and now this approach no longer works.  I'm seeing references to new ReportSource sub-types, but I haven't found one which seems to allow for this sort of approach.  Can anyone help me out?

Note: We are using the same method for assigning DataSources for Crosstabs and Tables, and that appears to still work.
BNA
Top achievements
Rank 1
 answered on 28 Sep 2012
10 answers
992 views
Does Telerik reports support displaying recursive data with the latest release?
Basically I have a simple table with a column "Parent_Id". I have been able to create
hierarchical trees in winforms but haven't had much success with the reports.

Thanks!
-Nick


Steve
Telerik team
 answered on 28 Sep 2012
27 answers
360 views
I have downloaded Telerik Reporting Trial Version 2010.2 714.

When I add an ObjectDataSource to a report in a WPF project (Visual Studio 2008) than Visual Studio does not respond anymore. Is this a known problem?
Shawn Krivjansky
Top achievements
Rank 1
 answered on 28 Sep 2012
15 answers
351 views
Good Day.

We have been using telerik components for sometime now.
We have purchased the premium collection and want to maximize its use.

We are using the Telerik Reporting for our reporting purposes. Our problem is its designer. Our clients want to design their own Reports but as what i've seen in the forum, your product does not have an User Designer.

Is there another way of designing the Report without using the Visual Studio?
If you are Going to make the End-user Designer, could you give a specific month and year when you can release it?
(We want to know the specific date of the release of the End-User Designer so that we can decide wether to include it in our development or not )

Thank you.
Vassil Petev
Telerik team
 answered on 27 Sep 2012
2 answers
111 views
Hello
Does Telerik reporting provides end-user a report designer GUI?
You know, customers always ask to be able to customize defsult prapared reports such as location of some labels and etc..
second question:
when do you think HTML container control would be released?(I mean a control which is able to render html text)
While, I know that your products are handy and powerful, these two kind of limitations make me wait, BTW I love it so much!
Vassil Petev
Telerik team
 answered on 27 Sep 2012
9 answers
332 views
Does Telerik Reporting include an end-user designer? Is it royalty-free?
Vassil Petev
Telerik team
 answered on 27 Sep 2012
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?