Telerik Forums
Reporting Forum
6 answers
375 views
Hello,
I am testing your Report Generator and I have created a report programmatically. I am currently getting this error:
Missing opertator before _Code Operand

can you point me to the right direction? 
(I am not spelling the error message incorrectly, this is what I actually get)
Chavdar
Telerik team
 answered on 16 May 2007
3 answers
249 views
In the examples that are installed, the ReportViewer.aspx file has a ReportName variable in the URL.  For example:
http://localhost/Telerik/Reporting1.0/examples/vb/webdemo/ReportViewer.aspx?ReportName=GroupReport%2c+VB.ReportLibrary%2c+Version%3d1.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull

How do you come up with the value for the ReportName variable?  In my solution, I have a report filename (w/ the same classname) called BudgetsByRegion.vb in my App_Code directory.  What would the ReportName value be in my situation?

Chris
Chavdar
Telerik team
 answered on 15 May 2007
2 answers
145 views
Chart Wizard generates a 'Error invoking Chart Wizard' error. Details: Exception has been thrown by target of an invocation' error.

After removing ObjectDataSource as my datasource it works. Sqldatasource works also.

Is this one of the problems that will be fixed in SP1? Any ideas? thanks.
Vassil Petev
Telerik team
 answered on 15 May 2007
1 answer
102 views
When I am using a subreport with an ODBC data source, the main report will hang when previewing in design mode if the sub report does not return any data. Has anyone else seen this issue?
Chavdar
Telerik team
 answered on 14 May 2007
1 answer
164 views
Hi

I have added a table adatpter and dataset as my datasources for the report,

I have built a query in  the table adapter that will get values according to query parameters.

I have made both the table adpater and dataset public, so is it possible for me to use

report.tableAdapter1.fillBy(dataset1.table, "Param1","Param2");

and query the information like that ?

Please help
Svetoslav
Telerik team
 answered on 09 May 2007
1 answer
125 views
Hi

After my report is generated I am only able to export the report to .tiff format. Please help.

Cheerz
Svetoslav
Telerik team
 answered on 09 May 2007
6 answers
382 views

After some confusion during the upgrade between beta 1 and beta 2, I'm struggling with the following error and I don't know what I'm doing wrong (please could you confirm what version we're running- the distinction I'm using is that beta 2's TextBox has a .Value property whereas beta 1's TextBox has a .Text property. Is this correct? Our dev boxes have had old versions installed in the past and I'm not sure the installers did the upgrade properly)

I digress. Here's a screenshot of the designer view:
http://i162.photobucket.com/albums/t277/fantomning/Capture-2.png

CounterMt is a field in the data table to which the report is bound (programatically), but is not shown on the report. It is a unique key for each row - the intention is to show the number of rows in the COUNT() field here.

The five SUM() fields in reportFooterSection1 are supposed to be an aggregate of the corresponding fields in the detail section.

If I remove the SUM() fields then the report executes perfectly well, otherwise I get this exception:

Any ideas? 

Server Error in '/LawbyteDotNet' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Reporting.Data.AggregateNode.Eval(DataRow row) +38
   Telerik.Reporting.Processing.TextBox.ProcessItem() +159
   Telerik.Reporting.Processing.ReportItemBase.ProcessItem() +144
   Telerik.Reporting.Processing.Report.ProcessItem() +312
   Telerik.Reporting.Processing.ReportProcessor.ProcessReport(Report reportDefinition) +57
   Telerik.Reporting.Processing.ReportProcessor.Render(String format, Report reportDefinition, Hashtable deviceInfo, CreateStream createStramCallback) +81
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageNumber, Boolean refresh) +806
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +72
   Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +118
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.312

Svetoslav
Telerik team
 answered on 04 May 2007
12 answers
282 views
I apologize if this is the wrong forum for this but I find the offer in the last Newsletter to be rather confusing.

I have a subscription for RadControls for ASP.NET with 256 days left. I see no option to upgrade on the Client.net. What exactly does this "upgrade" give me? Is it pro-rated for my subscription period?
Natalie Farah
Telerik team
 answered on 03 May 2007
3 answers
257 views
Here is some code I borrowed (from other reporting packages) to export a report to pdf. I have an empty aspx page that runs this code on load (after reading some url parameters).

MyReport report = new MyReport(); 
string mimeType = string.Empty; 
string extension = string.Empty; 
Encoding encoding = null
byte[] buffer = Telerik.Reporting.Processing.ReportProcessor.Render("PDF", report, nullout mimeType, out extension, out encoding); 
Response.Clear(); 
Response.Buffer = true
Response.ContentType = "application/pdf"
Response.BinaryWrite(buffer); 
Response.End(); 

You have to be sure to reference Telerik.Reporting.ImageRendering

I was having some issues with the layout of a simple nested sub report. The spacing is fine in Design View but way off in html view. So this is my fix for now.
Svetoslav
Telerik team
 answered on 03 May 2007
2 answers
177 views
This may have been answered, if so point me into the right direction please.

With reporting, am I to understand that currently the designer only works in windows forms, or am I missing something. I cannot seem to find a way to design the form in an web form application.

Thanks.
TadR
Top achievements
Rank 1
 answered on 02 May 2007
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?