Telerik Forums
Reporting Forum
0 answers
72 views
Is it possible to create a report without using a class library?
Also, how do we create a report that does not reside at the root level of a Web Site?
tam nguyen
Top achievements
Rank 1
 asked on 16 Apr 2010
0 answers
105 views
I have the below code to export a report into a memory stream:

        Dim reportDocument As New ReportClass.myReport

        reportDocument.ReportParameters(0).Value = myNum

        Dim reportProcessor As New ReportProcessor()
        Dim result As RenderingResult = reportProcessor.RenderReport("PDF", reportDocument, Nothing)

        Dim ms As New MemoryStream(result.DocumentBytes)
        Dim myAttachment As New Attachment(ms, "PO_" + myPONum + ".pdf")

Visual Studio generates an error message on the line that reads: "Dim result as RenderingResult = reportProcessor...."

The error message reads "There is no source code available at the current location"

What have I done wrong?

Thanks!

Brad Williams
Top achievements
Rank 1
 asked on 16 Apr 2010
0 answers
120 views
Hello,

I have a problem with my report.
I created a report with this sections (see "Structure.jpg" from attached files):

- groupHeaderSection (Student Group)
    - groupHeaderSection (Subject Group)
        - Detail
    - groupFooterSection (with property "visible = false")
- groupFooterSection (with property "visible = false")

My problem is, sometimes I havent values (becouse I get "null" from my database for all textboxes) in detail section, in this situation, I wouldn't like show this section becouse it's empty.
See preview.jpg in attached files.
Is there any property to hide the detail section when it contain empty textboxes?

Thank you,

Regards,
Jose Viana.


 

Jose Viana
Top achievements
Rank 1
 asked on 16 Apr 2010
1 answer
129 views
I created a standard tabular report and the user should be able to choose and rearrange columns with two RadComboBoxes.
I do this by changing the "Location" and "Visible" attributes of the textfields in the report. 
For some Textfields it works, but sometimes one column is displayed at a seperate page or columns overlay.
I already disabled the Dockstyle.Left setting on some TextFields which brought some improvement, but still the engine seems to randomly screw up.
Any hints?
peter meier
Top achievements
Rank 1
 answered on 16 Apr 2010
1 answer
144 views
Hello,

I'm trying to get a parameter from my Master report to my subreport without having to write any code in the code behind. I have added a parameter to the sub report inside my Master report. My Question is how do I do this? I have looked at the documentation which didn't help I have also searched the forums and couldn't find anything that helped.

i want to pass a GUID from my master report do my Subreport to give to my ObjectDataSource to use in a query.

I'm using Silverlight 4, VS 2010, .Net 4

Thanks,

Brett Rose
Steve
Telerik team
 answered on 15 Apr 2010
1 answer
106 views
Hello, I just started using Reporting to design PDFs and am greatly enjoying it's speed and ease of use.

If I have a set of data that extends beyond one page, is there a way to tell when a page break occurs and place a TextBox showing the column title on the new page? 

Thanks in advance for the response!
Peter
Telerik team
 answered on 15 Apr 2010
1 answer
265 views
I have a report that has a couple of multivalue parameters on it, and I need to be able to display the value of the parameter selection on the report header according to the following rule: If only one of the values is selected, display the selected value, if multiple values are selected, display the word "multiple". So for example, if the parameter is called "Change type" and has three values (1, 2 and 3) with display values of "Added", "Modified" and "Deleted", when only value 1 is selected, in the header I need to display "Change type: Added". But if multiple or all values are selected, I need to be able to display "Change type: Multiple".

In order to parse the selected values of the parameters, I've created a textbox in the report header to handle displaying this text, and have created a custom method that gets called from the Report_ItemDataBound event handler. In this custom method, I'm having trouble figuring out how to evaluate the selection of the named parameter to determine if multiple values have been selected or not. I was hoping someone could point me in the right direction for how to do this. I'm also open to hearing if there's a better way to accomplish this if there is one.

Thanks for the help.
Peter
Telerik team
 answered on 15 Apr 2010
1 answer
157 views
hi Telerik Team,

I have an issue with telerik reporting.

I have a datatable containing columns  ID, Name, Address and other details. I want to show each row of this datatable in each pages.
for example.
ID        Name        Address
---------------------------------
1        name1        address1
2        name2        address2
3        name3        address 3
 I set the datatable as datasource in report.cs class and in design I added textboxes with =Fields.ID, =Fields.Name and =Fields.Address. I was able to get the whole 3 values in a single page. What I need now is I want to show these 3 rows in 3 different pages and the ID in the header part. I tried but I was not able to get it. So can you guys please help me 
Peter
Telerik team
 answered on 15 Apr 2010
9 answers
659 views
We appear to have a memory leak when using the Sample application for the Reporting Web

Basically we load tons of reports and notice that the memory does not get released by the process that creates them. Is this an issue, could you tell me possibly what could be going on?
Eliza Sahoo
Top achievements
Rank 1
 answered on 15 Apr 2010
1 answer
166 views

We met a problem about design the report.

There is a Table in report detail section. In each TextBox of table cell,it will be set a text value in table_Binding event. I want to set some textbox's font color to red. For example,whose value is "1". I use Textbox.style.color to do that. But because the table and textbox is in detail section, it seems this operation will change the color of template (affect all pages), not only one page include the textbox which value is "1". That's wrong result.

Do you have any other idea to implement such functions?

Peter
Telerik team
 answered on 14 Apr 2010
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?