Telerik Forums
Reporting Forum
1 answer
147 views
I have a Parameter that is a list.  Is there a way to automatically refresh the report when the parameter has chaned?
Chavdar
Telerik team
 answered on 26 Sep 2008
4 answers
173 views
Hi,

I am a bit confused in the different previews when designing the reports. Why is it that what I see in the Preview is a bit different from the HTML preview?

For instance, I would like to have a textbox with a few line of information.

"I want to go there:             Washington"
In this case, in the preview is working fine but when in html preview, the tab in between is gone and I  am not sure if when print how it will show. I am assuming that when print, it follows what is shown in the preview tab and not the html preview tab. Is this right?

"I want to <b>go</b> there: Washington"
In this case, I want the 'go' to be bold and the other words not. I have to put the <b> tag so that in the html preview it is shown bold but in the preview tab it shows the tag. When I print it out it also show the <b> tag and the word 'go' is not bold.

Basically I am facing a lot of confusion as what I will see in my application and what I print out is different. How can I go about it that what I see is what I will print out? And lastly is that whenever I made changes to the report design, I cannot preview the latest changes until I do an iis reset and close open Visual Studio then only I can see the latest changes in the preview and application.

Lastly is that lets say I design a report in which will span a few pages. In the preview tab shows how many pages I will have. However, in the html preview and application, it shows the report as 1 page with no page break indication or how many pages. In the report viewer in the application shows only 1 page. But when I print out, it will show like maybe 2 pages or 3 pages and when print of course 2 pages or 3 pages.

So I have problem in the designing the report, showing in the preview tab, html preview tab and application report viewer shows different things and also that I cannot see the latest changes made to the report without reseting iis and close open visual studio to view the latest changes.

Thanks.

Regards,
Eugene
Svetoslav
Telerik team
 answered on 26 Sep 2008
16 answers
455 views
Hi,
 I have a master report with 3 subreports and there is a bar chart on one of the subreports. In the bar chart report class, I have a databind fiunction, for testing, I am manually populate the data, but later on I need to pass a dataset into this function. 
public void DataBind(DataSet aDS)
{
           ChartSeries chartSeries = new ChartSeries();
            chartSeries.Name = "Sales";
            chartSeries.Type = ChartSeriesType.Bar;
            // add new items to the series,
            // passing a value and a label string
            chartSeries.AddItem(120, "Internet");
            chartSeries.AddItem(140, "Retail");
            chartSeries.AddItem(35, "Wholesale");
            chart1.Series.Add(chartSeries);
            
//bind DAtaSet

chart1.ChartTitle.TextBlock.Text =

"My Test Chart";

chart1.Report.DataSource = aDs;

chart1.Series.Clear();

ChartSeries s = new ChartSeries();

s.Type =

ChartSeriesType.Pie;

s.DataYColumn =

"Value";

s.DataLabelsColumn =

"Desc";

chart1.Series.Add(s);




 }

On the master report class I have a function that call the databind function, 
 public void SubReportChartDataBind(DataSet aDS)        
{            
             MyChartReport rpt = new MyChartreport();
             rpt.DataBind(aDS);
            subReport3.ReportSource = rpt;
 }

and this SubReportChartDataBind function called by the report viewer aspx page. 

DataSet oDS = GetDataSetForChart();

MyReportMaster rptMaster = new MyReportMaster();
rptMaster.SubReportChartDataBind(oDs);
this.ReportViewer1.Report =rptMaster;

But on the chart, ther is no data shown, the error is "there is no or empty series". Anybody can give me a hand?

Thanks in advance
Chavdar
Telerik team
 answered on 26 Sep 2008
1 answer
135 views
Hi,

I would like to try the fantastic Reporting Control in a winform application.
Unfortunately I got an error on the first line of my application... Look at the code below.

The error is
Exception has been thrown by the target of an invocation
The type initializer of 'MyObj.OrdersData' threw an exception

In fact the OrdersData could not find (I think) the connection string in my app.config

What could I do ?

Partial

Public Class Report1
Inherits Telerik.Reporting.Report
Public Sub New()
    InitializeComponent()
    Dim Orders As MyObj.OrdersCollection = MyObj.OrdersFacade.GetAll
      ' me.datasource = Orders
End Sub
Public Sub main()
End Sub
End
Class

Svetoslav
Telerik team
 answered on 25 Sep 2008
3 answers
173 views
I am writing this post to save users of this software hours and hours of frustration, company costs, and headaches.

We just discovered that our Q1 2008 SP1 version of Telerik Reporting fails to work with StateServer.  We didn't see this mentioned anywhere in the docs or on this slick web site's demo or feature pages.  But perhaps maybe we missed it since we've been working overtime for the past 10 1/2 hours trying to resolve this problem---and have consequently blown a project deadline for our most important client while goofing around with this software's problem.

We, and many other ASP.NET developers, do not use InProc for state management for many reasons -- the most common being that it is unreliable for ASP.NET state management and constantly recycles, which of course destroys session data.  This is particuraly true when deploying to a shared host, where server antivirus software can cause InProc to go haywire and wreck session state every few minutes.

Here's the kicker: If you set your web.config to indicate 'StateServer', then Telerik reporting will fail to pass a parameter to the report!  In other words, using StateServer (and probably SQLServer as well) will cause the following line of code to fail completely:

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim query As String
        query = CStr(Request.QueryString("MyKey"))
        Me.ReportViewer1.Report.ReportParameters("MyParam").Value = query
    End Sub

There is no error message.  No warning.  Nothing.  Rather, Telerik Reporting simply doesn't conduct the parameter filter and that's that.

We searched extensively (had plenty of time during our 10 1/2 hours lost productivity) on the internet for information.  Buried inside a community post on this very web site was an excerpt dated 8/1/2008:

"Report parameters are really not shown when using a state server or sql server modes. This is an issue which will be fixed for the upcoming service pack in a couple of weeks. Your points have been updated for letting us know about the problem."  Greetings,  Chavdar.

Today is Sept 20, 2008.  It's been over 1 1/2 months.  Has this been updated or not?  If so, how can we get our version working?

I would formally request:

1.) A service pack fix immediately at no cost to our company.

or

2.) A refund for our Telerik reporting purchase if this issue cannot be immediately and at no cost to us be resolved with an updated software version that you currently have.

Our tech feedback provided here (at no cost to your company by the way) should serve to get you started on research and publication into this issue in hopes of saving future users massive problems when dealing with other methods of state management and using the reporting tool.

Another gem: a standard doctype declaration in web pages breaks the UI viewer in the Firefox web browser, which is used by, um, over 33% of our visitors.  What is happening with that?

We paid $600.00 for this software and are very unhappy with how buggy and unreliable it appears to be.  We are now forced to research into other vendors ASAP for our corporation and may terminate our use of Telerik products later this month if this issue is not resolved or a refund granted.  We are not asking for our lost company time, costs for employee's overtime in trying to resolve this bug, although we should have.

To say that we are very unhappy with Telerik's products at the moment is an understatement.

Kind regards,
Chris
the customer using your product

Vassil Petev
Telerik team
 answered on 25 Sep 2008
1 answer
203 views
Does the telerik reporting allow for you to have a function on click of an item on the report? 

For example:

I click on the print button on the rad report and that calls a function in the code behind to update a status in the database.  If this does can someone provide me some sample code? 

Thanks in advance.
Steve
Telerik team
 answered on 24 Sep 2008
1 answer
199 views
Hello,

We have a Date and Time on the footer of each report. Our server is in US and our clients are based in Ireland. How can I manage to display client local time on the bottom of the report when the report is being generated or exported to RTF or PDF.

Regards,
Steve
Telerik team
 answered on 23 Sep 2008
1 answer
150 views
Your documentation is not very clear and hard to understand.  How can I use one reportviewer to display different reports on the web?
Steve
Telerik team
 answered on 23 Sep 2008
1 answer
90 views
How can i code at c# for the visibility function of one row in one report or one sub report in master reports


Example:

1. Sub Report Problem: 
    if there is no data the sub report should not be visible in master report that compose of many sub reports

2. Report only: 
    if there is no data in one data field the data field and caption should not be shown.







Steve
Telerik team
 answered on 23 Sep 2008
1 answer
115 views
I am trying to make report in dotnet nuke .Is there any restriction that the cs file which inherits from 'Report' need to be in any nuke folders or in any apcode folder of the solution?

I did put one file under solution itslef and inherited from 'Report' . But I am not getting the telerik report designer to design my report layout.

Please help me with proper ideas

Thanks,
Jiss
Chavdar
Telerik team
 answered on 22 Sep 2008
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?