Telerik Forums
Reporting Forum
5 answers
245 views
Hello,

I am new to this forum and I evaluating Telerik reporting Trial version and running against problems with publish the report.

I have made a simple report and add in the Report designer the database connection with the report wizard. Everything works fine there. However after Publishing the website I have the report but no data in the detail section. Also no error messages are appear. 

During the report design I have created the Datasource to a Oracle Database.

I do get data in de detail section when I run the report in de VS development server.

Why I do have no data in the report. I have searched all available information and could not found anything about this.

Hopefully some of you can help me.

Regards

Rene

Rene
Top achievements
Rank 1
 answered on 16 Mar 2009
5 answers
311 views

 

On Using Telerik.ReportViewer.WebForms, Version=3.0.9.311

 

 

 

The previous version I was able to Load filters now I can't please advise.

Protected

 

Sub ReportViewer1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles ReportViewer1.Load

 

 

Dim gradefilter As String = Request.QueryString("Grade")

 

 

Dim subjfilter As String = Request.QueryString("Subject")

 

ReportViewer1.Controls.Filters.Item(0).Value = gradefilter

ReportViewer1.Report.Filters.Item(1).Value = subjfilter

 

End Sub

I was look at contructing a new filter expression but I don't see how to add reportviewer1.items.add ?

 

spike
Top achievements
Rank 1
 answered on 16 Mar 2009
1 answer
58 views
hi..

Sir in the older version ( Telerik_report_2008_1_ 1402_Trail.msi)i use..

        Reportviewer1.report.reportparameter[0].value=text.box1.text , this method to get the parameter value from the web form,

but today i have installed ( Telerik_report_2008_1_ 311_Trail.msi) for using the line break in the textbox....

in the new version it shows error as " CS0021 : Cannot apply  indexing with [ ] to an expression of type 'System.Collection.Generic.IEnumeration<TelerikReport.parameter>'.,

So please cure   my prb.,

By
Suirya
Svetoslav
Telerik team
 answered on 16 Mar 2009
1 answer
172 views
Hello,

I have a reportviewer in a Radwindow, with several reports.
Most of my reports are doing oke (have 1 parameter)
But the ones who do have more (in this case i only have more parameters with dates)
When i try to fill these i get some conversion errors. I tried to Parse them in my reports, but still get some errors.
Following is my code:

private

ArrayList list

 

{

 

get

 

{

 

if (Session["LIST_PARAMETER"] != null)

 

 

return (ArrayList)Session["LIST_PARAMETER"];

 

 

else

 

 

return new ArrayList();

 

}

}

 

private string rapport

 

{

 

get

 

{

 

if (Session["RAPPORTCODE"] != null)

 

 

return Session["RAPPORTCODE"].ToString();

 

 

else

 

 

return string.Empty;

 

}

}

 

protected void Page_Load(object sender, EventArgs e)

 

{

 

//rapport kiezen

 

 

ShaRapportEntity rapportntt = new ShaRapportEntity(rapport);

 

 

switch (rapportntt.Rapportclassname.ToUpper())

 

{

 

case "SCORINGSFORMULIERVEULENS":

 

ReportViewer1.Report =

new ScoringsformulierVeulens();

 

 

break;

 

 

 

case "WEBTRANSACTIESOPDATUM":

 

ReportViewer1.Report =

new WebtransactiesOpDatum();

 

 

break;

 

//there are more, however not put in here to win some space

 

}

 

 

if (list != null)

 

{

ReportViewer1.Report.ReportParameters[0].Value = list;

    }

}

Thanks for help

Steve
Telerik team
 answered on 16 Mar 2009
9 answers
915 views
I'm upgrading alot of my old Crystal Reports-based programs to .NET and decided to attempt to convert these to telerik's reporting control.
There are a few things I've encountered that I haven't been able to figure out with the Q2 2007 release of this control. The import tool works well enough to get the initial format, but it has a few specialized things it doesn't pick up.
If a section has no data, it needs to be not visible. This way an invoice can have different sections that only appear when they have data.
I need to have data fields in the header and/or footer. It would be nice for the converter to have warned that it doesn't work. If not this, I need to be able to set a section to always start a certain distance down the page. This is important for the bottom of our invoices.
If I can't have data fields in the header, I need to be able to use the page number anywhere on the page.
Any help on these issues is appreciated.
Steve
Telerik team
 answered on 16 Mar 2009
5 answers
366 views
I have a distribution report which has to page not only on rows but on columns also. I want to generate report as below format.
Notice the column A1,A2....... These are room type. These are dynamic. So it can be A1, A2, A3, A4,A5 .....  So if one page width accomodate only colmn up to A3 then A4, A5, ...... should go on to next page with same code and description rows. Is there any design option or other way to do it ?

Ist page:

Code

Description

 

 

 

 

A1

A2

A3

 

CASEGOOD

 

 

 

1001

Desk

1

2

1

1002

Outdoor table

2

1

1


Next page:

Code

Description

 

 

 

 

A4

A5

A6

 

CASEGOOD

 

 

 

1001

Desk

3

1

1

1002

Outdoor table

1

1

1



Please help me out.

Thanks in advance.
Arjun
Steve
Telerik team
 answered on 16 Mar 2009
5 answers
227 views

When I try to install the latest version (Q3 2008 SP1), I get an error when he tries to install the sql database.

(error 27507). There are also no sql server to select.

I have sql server 2008 Std.

Thanks

Eric

Eric Schoenholzer
Top achievements
Rank 2
 answered on 16 Mar 2009
4 answers
216 views
Hi,
how can I avoid that blank lines are printed in a report?

Thanks
Bernd
Milen | Product Manager @DX
Telerik team
 answered on 13 Mar 2009
0 answers
91 views
Cancel
Philip
Top achievements
Rank 1
 asked on 12 Mar 2009
3 answers
128 views
I am trying to create a report which will basically show data in groups. But the thing is that for each group the data to display might vary, both in columns and rows. This is why I can not design a Details Section at the Design-Time. While starting to process each group I am converting the necessary data while the groupHeader is being bound with:

private void groupHeaderSection4_ItemDataBound(object sender, EventArgs e) 
    Telerik.Reporting.Processing.GroupSection dtl = (Telerik.Reporting.Processing.GroupSection)sender; 
    sectionsData = ConvertToDataTable(dtl); 
which is OK. But after getting this re-constructed DataTable I want to design the Details Section of the Group according to the DataTable returned; which basically means to create columns and rows manually.

To create a custom grid on the fly I am trying to create TextBoxes and manually design them. This is where it gets stuck. I am doing this while binding data to the Details Section as:
private void detail_ItemDataBinding(object sender, EventArgs e) 
    Telerik.Reporting.Processing.DetailSection dtl = (Telerik.Reporting.Processing.DetailSection)sender; 
    dtl.Items.Clear(); 
    ProcessingBindColumnNames(dtl); 
 
protected void ProcessingBindColumnNames(Telerik.Reporting.Processing.DetailSection dtl) 
    double columnWidth = (double)(Convert.ToDouble(dtl.Width) - Convert.ToDouble(tbDurumWidth)) / (sectionsData.Columns.Count - 1); 
    tbColumnWidth = new Telerik.Reporting.Drawing.Unit(columnWidth, UnitType.Cm); 
    for (int c = 0; c < sectionsData.Columns.Count - 1; c++) 
    { 
        Telerik.Reporting.Processing.TextBox tb = new Telerik.Reporting.Processing.TextBox(); 
    } 
But at the line 14 I am getting "The Type 'Telerik.Reporting.Processing.TextBox' has no constructors defined".

How can I create a TextBox while binding the Group Details Section and why this item has no constructor but Intellisense brings me one when I type new?

Regards.
Steve
Telerik team
 answered on 12 Mar 2009
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?