Telerik Forums
Reporting Forum
1 answer
220 views
Attempting to create a new report using the wizard.  I select "Create new Data Source", then I select "Business Object".  Then I get to the prompt where you can choose the object to bind to.  My assembly is not listed.  It states that if you object does not appear, cancel the wizard and rebuild the project that contains your object.  Have tried that and it does not work.  That assembly is still not listed.  The assembly I am creating the report in contains a valid reference to the assembly with the business object.

Same problem occurs when I try to set the DataSource via the properties of the report.  The assembly is not listed.

I created an entirely new test solution with the same architecture and the assembly with the business object in it does appear in the wizard.  I just cannot get it to appear in the solution I need it work in.

Using:
Visual Studio 2008 Professional Version 0.0.21022.8 RTM
.NET Framework Version 2.5 SP1
Telerik Reporting Q2 2009

Any help would be appreciated.

Thanks.
Mike Booth
Top achievements
Rank 1
 answered on 31 Aug 2009
1 answer
103 views
Hi,
I am using telerik reporting and I already created a report .It works fine my problem is I added extra sections to it and I used report book to combine the reports into a single report.It wont work for some reason it will either return me the first page or the second page which is the extra sections I added .My question is there a way I can work around without using the report book because  I tried combining everything into a single report and it wont recognize when I use multiple stored procs so I had to divide them into two projects and use the report book.
I know it supports more than one stored proc because I am using 4 stored procs in my second report and it returns data so i dont understand why it wont recognise when i combine it  into a single report.Is there a work around or am I doing something wrong.
Please advise.
Thanks
Svetoslav
Telerik team
 answered on 31 Aug 2009
1 answer
161 views
Hi, i 've just installed the new tiral Telerk reporting 2009 Q2,after installing the package. There is no Telerik menu on Visual studio menu, no telerik reporting tab on toolbox, even right-click on the web site solution, the telerik templets can not be found too.
so could you please give me some advice?
My Computer is Winxp ,32-bit,english version,Visual web develop 2008.SQL express editon 2008, DotNet framework2.0,3.0,3.5 are all installed.
Hrisi
Telerik team
 answered on 31 Aug 2009
1 answer
224 views
I am using the Telerik reportViewer to generate some reports I also use the print function that comes with the viewer.  I just want to know if there is a way to get the response of the print dialog that pops when the print button is pressed.  I need to know if the user pressed the 'ok' button or the 'cancel' button in order to execute some code depending on the user selection.

Thanks for the response

Jonathan Melendez
Svetoslav
Telerik team
 answered on 31 Aug 2009
1 answer
103 views
I have a web that I have deployed and it is working fine.

I am attempting to add a telerik report to the web.  I added a class library to the web site and created the report as is described in the best practices.  The project solution now has two projects - one for the site and one for the class library.

The report displays fine in the preview so I am now tring to deploy it to the discountasp.net host.  To move to the host I have to use COPY WEB SITE.  But this option does not include the class libray for the report so I am not able to upload it.

I must not have the class that includes the defined correctly.

Can someone point me in the right direction?


Svetoslav
Telerik team
 answered on 31 Aug 2009
5 answers
552 views
I installed the reporting software. I created a new web project, added a new report, went through the wizard to create the new report. The designer was able to setup the report with my new fields and eveything looked good but when I choose Preview... I see nothing but page 1 of 1 of nothing.

I checked the dataset data preview and it brings back records but I cant seem to get this simple report to preview.  Any idea of what I may be missing here?

Robert
Top achievements
Rank 1
 answered on 28 Aug 2009
0 answers
154 views
Hi,
I am using Telerik table to displaying data but it doesnt seem to do anything.
becausethe stored proc I use to call the data is working and it displays data but in 16 pages
displaying the results in each line in 16 pages.
My proc returns 16 results.
I am using dataset with report viewer.This is the code

public

 

void Acc_setup_report_S6(string strAccountnumber)

 

{

System.Data.OracleClient.

OracleConnection conn = new System.Data.OracleClient.OracleConnection(System.Configuration.ConfigurationManager.AppSettings["ConnStr"].ToString());

 

System.Data.OracleClient.

OracleCommand cmd = new System.Data.OracleClient.OracleCommand();

 

cmd.Connection = conn;

System.Data.OracleClient.

OracleDataAdapter da = new System.Data.OracleClient.OracleDataAdapter(cmd);

 

 

DataSet ds = new DataSet();

 

 

 

try

 

{

cmd.CommandText =

"pkg_csharp_reports.sprocAcc_setup_report_S6";

 

cmd.Parameters.Add(

"account_number_", OracleType.VarChar);

 

cmd.Parameters[

"account_number_"].Direction = ParameterDirection.Input;

 

cmd.Parameters.Add(

"ret_result_", OracleType.Cursor);

 

cmd.Parameters[

"ret_result_"].Direction = ParameterDirection.Output;

 

da.Fill(ds);

 

foreach (DataRow dr in ds.Tables[0].Rows)

 

{

 

// //this.textBox1.Value = dr["description"].ToString();

 

 

this.textBox1.Value = dr["fee"].ToString();

 

 

this.textBox2.Value = dr["payor"].ToString();

 

}

}

 

finally

 

{

cmd.Dispose();

 

if (conn.State == ConnectionState.Open)

 

conn.Close();

conn.Dispose();

}

 

//return ds;

 

}

sree devi
Top achievements
Rank 1
 asked on 28 Aug 2009
1 answer
66 views
Hi,

I seem to be getting a random error when viewing a report. The error is:

An error has occured while processing Report:
The SelectCommand property had not been initialized before calling 'Fill'

I have looked through the help files and this forum but as yet no luck, anyone have any ideas?

Many thanks.
Steve
Telerik team
 answered on 28 Aug 2009
3 answers
240 views
In  MytextBox_ItemDataBound event of MytextBox that resides in my group footer section on my report, I get values of a data bound textbox  (MytextBox ) and i add them and get the result. And i just wannto assign that result to a non-data bound textbox that resides in PageFooter of my report. How can i do that?

I tried this.NonDataBountextBox.Value = tfinalresult.ToString(); in MytextBox_ItemDataBound  evetn, however it did not work.

And how can i do that, in every single report page and assign the result to the non-data bound textbox in every page separately? I mean not all the data bound MytextBox of whole report but ones on every page individually.

Thanks ...

 

Steve
Telerik team
 answered on 28 Aug 2009
8 answers
152 views
I need to pass  values to parameters (@date) there in SQL of DataSet of my Report. I tried following, however it threw exception that "object refrence not set to and instance of object"

Two parameter i added to  my report from Reports design > Properties > ReportParameters is  pCode1 and pCode2 , and i assing their values as follows:

(ReportViewerMizan.Report

as RaporMuhMizan).ReportParameters["pCode1"].Value = TextBoxHesapKodu1.Text;

 

(ReportViewerMizan.Report

as RaporMuhMizan).ReportParameters["pCode2"].Value = TextBoxHesapKodu2.Text;

 

 


No problem upto now, then after that in the following lines i assign values of parameter in SQL of DataSet of my Report(RaporMuhMizan) as follows:

(ReportViewerMizan.Report

as RaporMuhMizan).ReportParameters["pDate1"].Value = RadDatePickerDate1.SelectedDate;

 

(ReportViewerMizan.Report

as RaporMuhMizan).ReportParameters["pDate2"].Value = RadDatePickerDate2.SelectedDate;

and it throws the exception i mentiond above.

 

RaporMuhMizan is the dll of my reports calss library project.

So how can i handle this? Thanks...

 

 

Kem Arda
Top achievements
Rank 1
 answered on 28 Aug 2009
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?