Telerik Forums
Reporting Forum
2 answers
88 views
I am trying to evaluate the Teleric report control for purchase/use in a C#, VS 2005, ASP.NET 2.0 web app we have deployed with a large customer.  The main reason to switch from the current MSFT report control is that one client is getting an error which we think is probably related to their firewall, but we cannot solve it.  We want to see whether either Teleric or Crystal Reports will work.

For testing, I want to use the existing project (not create a separate class project as advised in the tutorials) and:

- Create a new report
- Use an existing data set for the data source (our data sets are in the app_data folder.
- Drop the report into an aspx containing the Teleric report control

It does now much matter what the report does at this point, I just want to generate any output, based on the above.  If it works in this client's browser we will deal with the suggested 'best practices' later.

Is there anywhere in the documentation where is states how to do this?  Everything I have seen keeps taking me to the separate class system.

I have been able to create a report (in the app_code folder as suggested), but I cannot get the report to 'see' the existing data sets in the app_data folder.

Any help would be appreciated - I just want something quick and dirty at this point.

Thanks
Mike Thomas


Mike
Top achievements
Rank 1
 answered on 22 Oct 2008
3 answers
131 views
I have downloaded the trial report control for possible use in a VS 2005, C# web application.  We've been using the MSFT report viewer control which is good enough, but it errors for certain users, so I am investigating the Teleric control - Telerik.ReportViewer.WebForms, Version=2.8.8.925.

I want to quickly do a very quick and dirty report to see firstly if it works with all of our users. If so, great, because it looks like a better control anyway & well worth the price.

I have a 19 step instructional sheet from your website, so I get the idea.  I do not want to do this in a separate class, for now. I just want to create the report in the existing web app project and test it there.

My question is how to get the 'DataSource' in the 'Data Explorer' window to 'see' the existing DataSets in the project.  Once I can do that, I think I can just start dragging fields onto the report designer.  The Data source icon does not show an datasets, and there does not seem to be any way to pick any.


Many thanks
Mike Thomas

Steve
Telerik team
 answered on 22 Oct 2008
3 answers
352 views
How can I use Telerik Reports to display a plain old grid.  I need something to look like the RadGridView control.  I don't see anything to use that I can put the fields in my report details section and when I go to view that report I would like for it to look similiar to my RadGridView, with the header names the grid lines and everything.  Please HELP....
Steve
Telerik team
 answered on 22 Oct 2008
1 answer
108 views
Hi,

Please try to create approx 50 pages of any report at windows app. While rendering and counting the pages, try to close the form in the middle of this process, you will see that application gets crashed. 
If you wait until all pages rendered and close the page, it closes normally.

Is this is a kind of bug or am I missing something?

Using Vista, VB2005 and Telerik reports 2008 Q2. 

Regards,
Ceki
Steve
Telerik team
 answered on 21 Oct 2008
1 answer
176 views
I'm sure this is just my understanding but it's driving me crazy.  I've reviewed all the documents I can find on page life, etc. but this is what I'm trying to do.

-Passing a value to the report via my website (working with a public property on the report).
-Based upon that passed value, set a string that renders to the header and footer (textbox).

I've tried doing this by:

Partial Public Class CustomerInvoice
    Inherits Report
    Public strCompanyName As String
...

but this doesn't work because of the lifecycle of the report (from what I've read it renders the header and footer after everything as a new report so that value is cleared/nothing)

So I tried ReportParameters to save the value (the OrderID is the one being passed and works):

Public WriteOnly Property OrderID() As Integer
        Set(ByVal value As Integer)
                Me.ReportParameters("CompanyName").Value = value
        End Set
 End Property

Private Sub tbxPayableTo_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles tbxPayableTo.ItemDataBound
        Dim strCompanyName As String = Me.ReportParameters("CompanyName").Value
            Dim tbxPayableTo As Telerik.Reporting.Processing.TextBox = DirectCast(sender, Telerik.Reporting.Processing.TextBox)
            tbxPayableTo.Value = "Make all checks payable to " & strCompanyName
End Sub

But the value is blank.

So the question is, how can I save a value to make sure it's available over the life of the report to render in the header/footer?  I have read other topics and examples and I must be missing something.

A quick example would be great.

Thanks.


Steve
Telerik team
 answered on 21 Oct 2008
3 answers
103 views
Hello:

It seems that my report is overlapping the bottom of the report viewer in IE7 but not in Firefox.  From what it looks like, when the vertical scrollbar is visible, the amount of overlap is equal to the combined height of the "up" and "down" arrows on the scrollbar.  I cannot figure out if I am doing something wrong.  Could someone please help me?

ASPX:
<div id="divReports" runat="server" style="width:100%;"
        <div style="height:500px;"
            <telerik:ReportViewer ID="rptViewer" runat="server"  
                Width="100%"  
                Height="100%" 
                BorderColor="Silver" BorderWidth="1px" BorderStyle="Solid"
            </telerik:ReportViewer> 
        </div> 
</div> 

Screenshots:
IE7 (overlapping web viewer)
Firefox (working as expected)

Thanks for your input,
Barret
Steve
Telerik team
 answered on 21 Oct 2008
3 answers
130 views
Hi 
        I want to generate Report using Dataset but I don't want to display it, it will be generated on PDF directly using Codebehind.  


Thanks
Steve
Telerik team
 answered on 21 Oct 2008
1 answer
164 views
hi ,
i am generating pdf from Report. i have set the page break : after Property
but in pdf he shows the blank page after each record. i want every record should be  on new page. it should not create a blank page after each record in pdf.
please give me the solution as early as possible.

Regards.


Steve
Telerik team
 answered on 20 Oct 2008
13 answers
1.1K+ views
Hello

Is there a way to use the sql connection from my web app's web.config rather than always having to code/input the connection string with every report?

thanks
 - will
tony
Top achievements
Rank 1
 answered on 19 Oct 2008
4 answers
372 views
Having just moved Telerik Reporting Q3 2007 for a web application we have discovered that when a report is rendered then an attempt to export it as a pdf file is made then the w3wp.exe process is pushed to 100% cpu usage and a large increase in memory.

The amount of data in the report is relatively small and no graphics are being used, we are currently using LLblgenProDatasource2 as the datsource for the report.

At first we moved the application to a separate ApplicationPool in IIS 6 and increaded the max number of Threads available to the AppPool, while also turning on the ASP .Net State Service so Session State would work across the extra threads. This resulted in the curious effect where part of a report would render but data for sub reports wouldnt..... perhaps a separate problem with session state here?

The upshot is when running with inProcess session state a relatively small report with no graphical content will grind the server to a halt be overloading the w3wp process ...

any suggestions are most welcome ..

William Jack
David Carnley
Top achievements
Rank 1
 answered on 17 Oct 2008
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?