Telerik Forums
Reporting Forum
2 answers
461 views
I have tried to remove the seconds from the display of t TimeSpan field with no success,
I tried {0:t} , {0:T} ,{0:hh:mm} , in all 3 cases I see hh:mm:ss where did I go wrong ....
I'm using q3 2009

Mickey
Top achievements
Rank 1
 answered on 23 Feb 2010
12 answers
202 views
Hi,
i just upgraded to the Q3 that was out a few days ago.
I can't get my code that binds the reports to the data source to work.
The following works fine:


 

public PatientReport()

 

{

 

/// <summary>

 

 

/// Required for telerik Reporting designer support

 

 

/// </summary>

 

InitializeComponent();

 

//

 

 

// TODO: Add any constructor code after InitializeComponent call

 

 

//

 

 

// TODO: This line of code loads data into the 'pCGProduction211009DataSet.PCGProduction211009DataSetTable' table. You can move, or remove it, as needed.

 

 

try

 

{

 

this.pcgProduction211009DataSetTableAdapter1.Fill(this.pCGProduction211009DataSet.patient);

 

}

 

catch (System.Exception ex)

 

{

 

// An error has occurred while filling the data set. Please check the exception for more information.

 

System.Diagnostics.

Debug.WriteLine(ex.Message);

 

}

}


but when i try to bind through the NeedDataSource event with the following code:


 

public

 

PatientReport()

 

{

 

/// <summary>

 

 

 

 

 

 

/// Required for telerik Reporting designer support

 

 

 

 

 

 

/// </summary>

 

 

 

 

 

InitializeComponent();

DataSource =

null;

 

 

}

 

private PCGProduction211009DataSet.patientDataTable GetData()

 

{

 

using (patientTableAdapter adapter = new patientTableAdapter())

 

{

 

var data = adapter.GetData();

 

 

return data;

 

}

}



i get an error when the report runs as you can see in the file attached. This code does work with Q2.

What has gone wrong?

Naphtali

Steve
Telerik team
 answered on 23 Feb 2010
1 answer
204 views
How do i stream a tiff file byte[] to a telerik web report viewer control?  I was previously streaming the byte array to content-type image/tiff but users are having issues viewing the tiff so now I am looking for a good work around.

Thanks
Steve
Telerik team
 answered on 23 Feb 2010
2 answers
59 views
Hi,

If I put a stop command in vb.net in the detail_ItemDataBound event, VS crash. If I put a break line in the code, the code doesn't stop. Is there a way to break execution in the design preview?

thanks
Steve
Telerik team
 answered on 22 Feb 2010
1 answer
364 views
If I put a PageBreakAfter for a group, is the page break executed even if the group is invisible?
Steve
Telerik team
 answered on 22 Feb 2010
1 answer
160 views
Hello,
We have a report where we are pulling data from a table . When we run the sample report on the development server its perfectly working . But when we try to run the report from the application server we get the data in question marks, particular (Name) column which is in Arabic language . But all the other applications on the application server is working fine with Arabic language for example in grids, drop downs, text-box, labels etc .
I have attached a sample report where the column is in question marks .

Please help me in this matter.
Thanking you all in advance for your time and consideration.
Steve
Telerik team
 answered on 22 Feb 2010
2 answers
138 views
Hi,

My "problem" is that i have a report with a subreport in the details section, and i would like a textbox value that contains a sum from the subreports datasource in the report header. 

So the easiest would be to set the textbox value from the subreports databinding/bound event - but i can't find any solution for it. 

Can you point me in the right direction? 
KorsG
Top achievements
Rank 1
 answered on 21 Feb 2010
3 answers
379 views
Hi,

I really need to find a step by step solution to make this work, I swear I tried all the indications and videos posted here, I searched the forum and looked at all the threads.

I can not resolve the passage of bind parameters to the report,

My report uses a dataset with a SqlTableAdapter, and when I set the value of the parameter by hand, inside the "reportParametes" and "filters" thats works fine.

but now, I need to call that report from a ReportViewer in a aspx webform, i also need to pass the value selected in a DropDown to filter the Report Results.

I'm using the newest version of TelerikReporting, but the videos and Howtos that I've found here seen to be for old version.

please, anyone could give a light?  a "step by step" how to get that thing working

Scenario:
  • A Webform  reportview.aspx with DropDown with years ( 2008/2009/2010) and a ReporterViewer that calls report1 class from my referenced assembly.
  • My report class is running well from "Preview" when I set the parameters by hand, but I need to get that parameter from reportviewer aspx page
  • I'm using a Dataset with SqlTableAdapter where the method GetDataBy(@year) needs a parameter with the selected Year, to execute SELECT * FROM MYTABLE WHERE YEAR(DATE) = @year

What I have to do , to pass the Year selected in DropDown to the report called by the ReporterViewer?

Tks






SMA SOFTWARE
Top achievements
Rank 1
 answered on 19 Feb 2010
1 answer
106 views

hello,

I need help, please.

I use a classlibrary to store the reports, and I have a web site to call the reports from classlibrary. I have several RESX files in my classlibrary (see classlibrary from attached files), one for each languaje. 

In my web site I have a reportviewer to link each report from classlibrary (see reportviewer from attached files).

To link each report I have this code in my default.aspx.cs:

  Report1 a = new Report1();
  ReportViewer1.Report = a;

I would like translate, for example, all my textboxes with the correct languaje depending on culture (see report1code from attached files).

I saw the help from (http://www.telerik.com/help/reporting/report-viewer-localization.html), but it isn't enough, if I could see a similar example...

I have SQL server 2008, Visual Studio 2008, telerik reporting Q3 2009 (the trial version).

Could someone help me?.

Thank you.


Steve
Telerik team
 answered on 19 Feb 2010
0 answers
68 views
Any news on when we will be able to generate a PDF with clickable hyperlinks?

I checked the forum and following the time line it looks like it was planned last year, but didn't make it.

Randy Miller
TransGuardian
Randy
Top achievements
Rank 1
 asked on 19 Feb 2010
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?