Telerik Forums
Reporting Forum
21 answers
633 views
Hi,

Here's the situation.  I have a Telerik Report document.  In the Detail row, there are three columns, each with one field.

The fields can grow, and do based on the data in the field; so there may be multiple lines on some of the fields. 

If I just put borders around the fields, then the boxes are all different heights, depending on what is in the fields. 
(like this sketch:)
---------------------------
|         |           |         |  <-Record 1
--------|           |         |
          |           |-------|
          ----------
---------------------------
|         |           |         |  <-Record 2
--------|           |         |
          ----------|         |
                       ---------

I need for all three columns to be the same height boxes.

When done, the page should basically be a grid of boxes with the details from each record filled into the fields:

--------------------
|        |       |      |   <- Record 1
|        |       |      |
--------------------
|        |       |      |   <- Record 2
---------------------

Hope I am making sense... Anyone have any ideas on how to accomplish this?

Thanks!

-Chuck
Steve
Telerik team
 answered on 21 Oct 2010
10 answers
410 views
Does Telerik Reporting support a matrix control just like the one in the Microsoft reportviewer?
Igor
Top achievements
Rank 1
 answered on 21 Oct 2010
2 answers
85 views
Hi,

I am using Chinese version of Visual Studio 2010. After installed Telerik_Reporting_Q2_2010_v4_1_10_921, We could not find "Telerik Report Q2 2010 in Installed Template. It's OK on English version of Visual Studio 2010.

Please advise.

Many thanks,
Bill


wg
Top achievements
Rank 1
 answered on 21 Oct 2010
1 answer
204 views
Hi;
(Use 2009.Q1)
i am writing my own web browser. And from that browser, i try to export a report to pdf. But when you click on the Export functionality, it opens the export operation on Internet Explorer (a different web browser of course...). And because the instance ids of my own web browser and internet explorer's are different, exporting fails. Now that, i need to export the report on the same page by writing code behind a button control or by changing the functionality of WebReportViewer to export the report to the _self window.

First of all, i am using a code snippet that would display the report in the same page with my web browser (by implementing a button control's event). The code snippet is:

http://www.telerik.com/help/reporting/faq-display-pdf-browser.html
Sub ExportToPDF(ByVal reportToExport As Telerik.Reporting.Report)    
    Dim reportProcessor As New ReportProcessor() 
    Dim result As RenderingResult = reportProcessor.RenderReport("PDF", reportToExport, Nothing
  
    Dim fileName As String = result.DocumentName + ".pdf"   
    Response.Clear()    
    Response.ContentType = result.MimeType    
    Response.Cache.SetCacheability(HttpCacheability.Private)    
    Response.Expires = -1    
    Response.Buffer = True    
    Response.AddHeader("Content-Disposition", String.Format("{0};FileName=""{1}""", "attachment", fileName))    
    Response.BinaryWrite(result.DocumentBytes)    
    Response.End()    
End Sub

Although i have imported Telerik.Reporting and Telerik.Reporting.Processing libraries, the compiler tells me that "ReportProcessor" is ambigious in the namespace Telerik.Reporting.Processing. Why do i get this error?

As a second question, i tried to open the exported sheet in the same window by using WebReportViewer with _self directive. But i failed again because of the different instance ids of web browsers...

Any ideas about exporting the report to _self window would be appreciated!.
Thanx
Steve
Telerik team
 answered on 20 Oct 2010
3 answers
148 views

Hi,

When I install my program on my clients computer, everything works except for the reports (telerik reporting).  When I try to view a report I get "unable to find the requested .net framework"  This project is vb.net, sql server, .net framework 3.5.  It of course runs fine on my development machine.

TIA,
Barry
Steve
Telerik team
 answered on 20 Oct 2010
1 answer
224 views
I have a report using a stylesheet, if I were to use conditional formatting to change the font colour of negative numbers to red does the resulting style rule also change the rest of the textboxs properties (font, size, etc) away from the values set by the stylesheet?
or
Is it possible to assign a stylesheet style conditionally?

Thanks
Patrick
Peter
Telerik team
 answered on 20 Oct 2010
3 answers
176 views
Hi, I'm quite new with telerik charts,
I'm wondering if there's a way to create a 3d pie chart, rotate it on the x axis for example by 30°, with labels not rotated and with the size of the slices (3D pie) displayed (like in the picture). I used in the past other C++ components in order to manage charts, but yours one seems completely different than everything else I've seen.
Yavor
Telerik team
 answered on 20 Oct 2010
1 answer
155 views
hi... to all
i've created ssrs reports local following is my code..
 public void source(string tbname,string Rptname)
        {
            ReportViewer1.Visible = true;
            string myQuery = "select * from " + tbname;
            SqlConnection myConnection = new SqlConnection(ConnectionString);
            SqlCommand myCommand = new SqlCommand(myQuery, myConnection);
            myCommand.Connection.Open();
            SqlDataAdapter da = new SqlDataAdapter(myCommand);
            DataSet dt = new DataSet();
            da.Fill(dt);


            //ReportParameter[] p = new ReportParameter[1];
            //p[1] = new ReportParameter("@p_dno", "5");
            //this.ReportViewer1.LocalReport.SetParameters(p);
            //DataSet dt = new DataSet();
            //dt = p;
            ReportViewer1.LocalReport.ReportPath = Rptname + ".rdlc" ;
            ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
           ReportDataSource datasource = new ReportDataSource("employeeDataSet_" + tbname , dt.Tables[0]);
            ReportViewer1.LocalReport.DataSources.Clear();
            ReportViewer1.LocalReport.DataSources.Add(datasource);
       
        }
now it works good..
as i expected...

but i want to pass the datasource connection string from here is there any 
way to pass the datasource programatically....
Massimiliano Bassili
Top achievements
Rank 1
 answered on 20 Oct 2010
1 answer
123 views
I can't use querystring to pass parameters to reportviewer but i need to pass them from ascx, where webviewer is declared.

How to do that?

rvBidReport.Report.ReportParameters collection is readonly for web report viewer

thank you for any hint
Jaroslav
Top achievements
Rank 1
 answered on 19 Oct 2010
1 answer
132 views
Hello

I have a group, and on the footer I want to make a Sum(). But when I right click > Expression > Aggregates, nothing shows. I know that before, I had the ability to sum, and it worked. I don't know what I changed, but it doesn't work anymore.

I call Sum() of my field anyway, but on the second page of the report, I have an error : "The expression contains undefined function call Sum()".

I can't find references in the documentation for when aggregates are disabled...

Why doesn't Sum() works ?

Thanks
Thomas B
Top achievements
Rank 1
 answered on 19 Oct 2010
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?