Telerik Forums
Reporting Forum
1 answer
198 views
hello,

I find something to save the document directely avec the generation... But it's not working with the relerik reportviewer

            Warning[] warnings; 
            string[] streamids; 
            string mimeType; 
            string encoding; 
            string extension; 
 
            byte[] bytes = reportViewer1.LocalReport.Render( 
               "PDF"nullout mimeType, out encoding, out extension, 
               out streamids, out warnings); 
 
            FileStream fs = new FileStream(@"c:\output.pdf", FileMode.Create); 
            fs.Write(bytes, 0, bytes.Length); 
            fs.Close();  


Do you have any solution to save directely the file on the serveur ?
thank you
Steve
Telerik team
 answered on 26 Jan 2010
4 answers
152 views

I am working on a report , where i have to display  a stackbar chart .  But chart does not display accurate data .
please find attachement for report pdf and code file . please help me Asap.




  Private Sub Chart1_NeedDataSource(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles chart1.NeedDataSource  
        Try 
            Dim StrSqlConnection As String = ConnectionString  
            If Trim(StrSqlConnection) <> "" Then 
                If Not ObjSqlCon Is Nothing Then 
                    ObjSqlCon = Nothing 
                End If 
                ObjSqlCon = New SqlConnection(StrSqlConnection)  
                ObjSqlCon.Open()  
                If ObjSqlCon.State = ConnectionState.Open Then                      
                    Dim chart1 As Telerik.Reporting.Processing.Chart = CType(sender, Telerik.Reporting.Processing.Chart)  
                    Dim defChart As Telerik.Reporting.Chart = DirectCast(Chart1.ItemDefinition, Telerik.Reporting.Chart)  
                    Dim ProjectRpt As New ProjectTrendDstTableAdapters.ReportProjectTrendAnalysisTableAdapter  
                    ProjectRpt.Connection = ObjSqlCon  
                    Dim ProjectDst As New ProjectTrendDst.ReportProjectTrendAnalysisDataTable  
                    ProjectDst = ProjectRpt.GetData  
                    SalesPersonQChart.DataSource = ProjectDst  
                    defChart.DataGroupColumn = "Status"                      
                    defChart.PlotArea.XAxis.DataLabelsColumn = "Territory" 
                    defChart.Legend.Appearance.GroupNameFormat = "#VALUE" 
                End If 
            End If 
        Catch ex As Exception  
 
        Finally 
            If ObjSqlCon IsNot Nothing Then 
                ObjSqlCon = Nothing 
            End If 
        End Try 
 
    End Sub 
Thanks and Regards,
Naginder Singh
Naginder Singh
Top achievements
Rank 1
 answered on 26 Jan 2010
0 answers
81 views
Am I able to read\parse a PDF to display\rasterize it's data into my own report then feed that back out to the user?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 26 Jan 2010
1 answer
214 views
Hi,
i have a 1 page report with shows users information via ssn.I built a parameter for user names and surnames its gives the report of this user via ssn value of the parameter.I want to ask that when i give this param multiple value property true and give the report filter IN operator when i select two users it does not shows 2 different users in 2 different pages and report  runs very slowly.Sometimes gives not responding error.
Steve
Telerik team
 answered on 25 Jan 2010
2 answers
176 views
Hi All,

Yeah I know, sacrilige etc, but can a chart from another vendor be used in a Telerik Report (apart from generating as an image saving to disk and then pulling back into the report)? 

Regards,

Jon

Jon
Top achievements
Rank 1
 answered on 25 Jan 2010
1 answer
73 views

We have used Telerik reporting version 3.0.9.430,Now we are using latest version 3.2.9.1211

the old version contains Telerik.reporting.processing.dll .But it is not available in the

latest version, so While upgrading to latest version we are facing reference.

We are not able to see the report.

:(

Steve
Telerik team
 answered on 25 Jan 2010
0 answers
68 views
i have grouping text box called balance in group header section. i put a new textbox near it.I want that i want to write if balance total < 0 "minus" balance total >0 "plus" to text box.
Teoman
Top achievements
Rank 1
 asked on 25 Jan 2010
1 answer
462 views
I'm having some serious trouble with some reports. I can't seem to get the data to connect to the report through the Data Table Adapter. This is my first go at using telerik reporting, and I'm converting a bunch of Crystal Reports to Telerik. Everything was going smoothly most of the reports converted mostly smoothly, and they are running fine. I am now converting some of the ones that invloved sub reports, which I apparently need to create from scratch. No big deal, as they aren't terribly complex.

However, I seem to be missing something. On the first report, I associated the DataSource to the DataSet, and the DataMemeber to the DataTable, and the DataTableAdapter was automatically generated. However, I apparently missed the magic that made this happen, because I can't seem to duplicate this in later reports. I set the DataSource and DataMember, but the DataTableAdapter never gets created, and when I run the report, no data is found.

Pictures are attached.
Steve
Telerik team
 answered on 25 Jan 2010
1 answer
107 views
We want to buy telerik reporting to use full-featured later, but currently as a TEXT-To-PDF Converter. Can we make use of some libraries in Telerik Reporting to do it. We know about iTextSharp etc. but do not want to use it, only use Telerik Reporting. Is it possible to extract only this part?

Some samples will be helpful.
Steve
Telerik team
 answered on 25 Jan 2010
4 answers
191 views

Hi,

I have a question regarding generate mixed layout report for a testing project.

In this example, sample A tests against B1, B2, B3, B4..... Each pair’s report shall look like the attached file. Each report page header shall be the pair in test.

My question is how to export one report including all the pairs’ reports in the order A-B1, A-B2,A-B3,A-B4 as the same layout as the attached file?

Currently I am using the report book which includes two reports (one for all the pairs' test results, one for all the pairs' test images)

 

james fang
Top achievements
Rank 1
 answered on 22 Jan 2010
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?