Telerik Forums
Reporting Forum
1 answer
87 views
In trial version 1.0, I programmatically assign data to report. But in detail section when report runs, all the data comes in seperate pages. How to solve this problem

Abhisek Shukla
Chavdar
Telerik team
 answered on 19 Sep 2007
2 answers
425 views
When building the simple Northwind.Customers table report in a web site, the "Export" button is dimmed and the drop down list: "Select export format" has no entries? 

How do we add support for generating the pdf and have the Export list include pdf?
William
Top achievements
Rank 1
 answered on 18 Sep 2007
1 answer
149 views
Hi all!

Sorry to be impatient, but is there any word on when the newest version will be released (Q2 2007)?  The road map claimed it may have been released on 17th Sept (yesterday) but I know this was just an estimate.

Any update would be appreciated!

Dan
Vassil Petev
Telerik team
 answered on 18 Sep 2007
1 answer
135 views
Hi

I have couple of questions,

1. When the Data Source is empty Report is stuck on Generate Report Screen and doesn't move forward, I beleive it should display some proper message saying "there are no records found", Please advise.

2. I'm trying to generate a tree like report, is there a way that I could add a report item dynamically? and if yes where it should? Is there some sample code available to generate tree like report.

With Regards

Farooq
Hrisi
Telerik team
 answered on 18 Sep 2007
1 answer
264 views

Has anyone tried to dynamically pass in DataTableMapping and DataColumnMapping to a report that has been created?  I am attemtping to do this.  I have various reports and based on the report I select, I pass in the dataadapter and connection string.

string strSP = name of stored procedure
sqlSelectCommand1.CommandText = "dbo." + strSP;
sqlSelectCommand1.CommandType = CommandType.StoredProcedure;
sqlConnection1.ConnectionString = SqlClient.GetConnectionStr();
sqlSelectCommand1.Connection = sqlConnection1;
sqlDataAdapter1.SelectCommand = sqlSelectCommand1;

Can I do the mapping in this code or do I have to do the mappings within the report itself?

Report report = new Report();
report.DataSource = sqlDataAdapter1;
ReportViewer1.Report = report;

 

Hrisi
Telerik team
 answered on 18 Sep 2007
1 answer
415 views
when i run the report i develope i got this error.

CommandText property has not been initialized.
Hrisi
Telerik team
 answered on 18 Sep 2007
1 answer
217 views
I am working on a dynamic feature where a report is loaded in a reportviewer.  I have a dropdownlist where the user can select one of the reports.  The selected report is then loaded in the viewer.

Each value in the dropdownlist called ddl1 is the name of the reporting class that I want to view.  For example, a user selects "InvoiceReport"...I would like the following to happen.

ReportViewer1.Report = new InvoiceReport();

I am unable to accomplish this because this is the code I have.

string strddl = ddl1.SelectedItem.Value + "()";
ReportViewer1.Report = new strddl;

Or I have been trying to do this as well...

Telerik.Reporting.Report report = (Telerik.Reporting.Report)ddl1.SelectedItem.Value;

How do I pass in the string value of the report name into the reportviewer1.report loading declaration?

Have any ideas?
Thanks

Svetoslav
Telerik team
 answered on 11 Sep 2007
1 answer
137 views
Hi

I wrote this code to create my chart dynamically:

<radc:ChartSeriesItem YValue="<%=y0%>" XValue="<%=x0%>"></radc:ChartSeriesItem>
                                        <radc:ChartSeriesItem YValue="<%=y1%> " XValue="<%=x1%>" ></radc:ChartSeriesItem>

but i got this error message :

Overflow error.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OverflowException: Overflow error.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OverflowException: Overflow error.]
System.Drawing.Graphics.CheckErrorStatus(Int32 status) +104
System.Drawing.Graphics.DrawLines(Pen pen, Point[] points) +317
Telerik.WebControls.Chart.DrawHLineSeries(ChartSeries series, Rectangle plotRect, Int32 lineType) +1034
Telerik.WebControls.Chart.DrawHorizontalSeries(Rectangle chartRectangle, Rectangle plotRectangle, StringBuilder sbImageMap) +496
Telerik.WebControls.Chart.DrawSeriesManager(Rectangle chartRectangle, Rectangle plotRectangle, StringBuilder sbImageMap) +415
Telerik.WebControls.Chart.Draw(Int32 chartWidth, Int32 chartHeight, StringBuilder sbImageMap) +3139
Telerik.WebControls.RadChart.RenderContents(HtmlTextWriter writer) +532
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +43
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +98
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +43
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +335
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +56
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Page.Render(HtmlTextWriter writer) +39
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5534

Please let me know how can I get rid off this error .Or plz. suggest any other method to make the coordinates of my chart dynamic.

Thanks and regards,

Amlan
Chavdar
Telerik team
 answered on 10 Sep 2007
5 answers
529 views
Hi.
I am trying to create reports with webforms.
I have several questions:
Is it possible to add my own custom buttons in the toolbar?
Is it possible to add my own custom export format?
Is it possible to change text for the different items in the toolbar?
Is it possible to create dynamic rdlc on the fly?

I have been testing reportviewer with VS2005.
http://www.gotreportviewer.com/

Many thanks in advance.
Michael
neils
Top achievements
Rank 1
 answered on 09 Sep 2007
3 answers
2.2K+ views
Hi
    We need to create a 3 page FAX report. What is the best way to add multiple pages in a report.
 
   Once the report is generated we need to save it as a PDF.

Thanks

Jason
Rossen Hristov
Telerik team
 answered on 08 Sep 2007
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?