Telerik Forums
Reporting Forum
1 answer
117 views
I have problem with retreiving  data source columns defined for  my report by clicking data explorer option in telerik reporting menu .

I have a class library project and inside it I create a new telerik reporting class . then I cancel  it's wizard and I put a sql data adapter into my report and  set my connection string and  after that select my desire stored procedure in sql data adapter wizard  from the list and then finisih. After doing all of the mentioned steps I select my report and then set it's data source to sql data adapter / datasource1 , but when I refer to data explorer option and select it report designer say :  procedure or function sp_GetDailyOrders expected parameters @cmp_Id which was not supplied and then no data source column will retreive for me .

If go to select command property of my sql data adapter and then select it's sub property parameters and the assign a default value for my @cmp_Id then data explorer will retreive my data source columns .

Ok, may you please tell me what is the problem ! I don't want to set default value for my paremters .

Please help me .

Steve
Telerik team
 answered on 10 Dec 2008
3 answers
461 views
Hello,

maybe I'm missing something but I have a problem with retrieving fieldnames from the data explorer. I use the quickstart example for creating a report. I set up the datasource and  I can see the fieldnames in the data explorer but when I want to drag a field on to my report it becomes a 'regular' textbox. Then connection with the field from the data explorer gets broken.
Or maybe I'm doing something wrong but I can't find posts with a simular problem.

Thank you.

Geert
Steve
Telerik team
 answered on 10 Dec 2008
7 answers
92 views
Hello Telerik,

I just upgraded to Telerik Reporting Q3 and I get messages from users that there's something wrong with the layout. Indeed there's someting different and that is that printed items are moving away from each other. For an example of what I mean: http://80.69.83.12:81/downloads/downloads/IncreasingLineSpace.png At the top everything is normal but the next items show increasing white spaces between items. I tried several things already, also colored some items to figure out what the problem can be. Can you give me an solution for this behaviour?

Thanks!

Geert
Geejay
Top achievements
Rank 1
 answered on 10 Dec 2008
7 answers
663 views
I have an old Active Report I'm trying to recreate in Telerik reporting.  There are a number of horizontal and vertical lines on the old report that I have had little success in making look right in Telerik reports.  The main problem is the difference between the designer view and the preview window.  I understand why the html preview is rendered differently... since html formatting is tricky, being a web designer myself I'm perplexed with how well that works.  But I'm also thinking that it should be no problem to allow overlapping lines and textboxes if your goal is to only export to PDF or print (which is the case here). I'm looking at a report here where I have a line shape overlapping another perpendicular line by about 2 pixels, yet on the preview it's almost 10 pixels away from it.  I've messed with this enough to decide I can't outsmart it and predict where the line will actually be rendered without clicking on the preview button...
Is there any way to make this more consistent?  Is this just me having problems?

Thanks

Steve
Telerik team
 answered on 09 Dec 2008
1 answer
179 views
Hello,

I'm working on a report with several subreports created programatically. Everything is printing fine except for two (very similar) subreports. These two subreports contain multiple text boxes of various sizes and display repeating information coming from a DataTable. We are rendering straight to PDF with no ReportViewer.

Everything looks great until the point near the end of the subreports in question. Their information becomes cut off and covered by the subreport that is next in sequence. I can use Adobe Reader's "Search" function to find the text that's cut off, and it highlights some sort of invisible text underneath the next subreport. Rearranging the subreports changes where the overlapping occurs, but still cuts off part of one or both of the subreports at some point. I narrowed down the problem somewhat by setting CanGrow to false, but that only works on a very limited number of text boxes and prevents my report from displaying correctly.

Has anyone else run into this, and more importantly, found a fix for it?

Thanks,

Shane
Steve
Telerik team
 answered on 09 Dec 2008
1 answer
116 views
Hi

  1. Can you give any sample report using multiple(3 or 4 ) parameters,
  2.  want see all the results by default without selection of any paramter.
  3. every parameter should work like individually.

here i am facing problem with two paramters.

I have create two parameters one is role and object.
Role parameter with  allow null=true, data Source ,dispaly member="rolename",value member="RoleID"
Object parameter with allow null=true,data Source ,dispaly member="objectname",value member="ObjectID"

placed condition in filter in report property window as
=fields.roleid==parameter.roleid and =fields.objectid==parameter.objectid
Object paramter is working but role parameter is not working.

plz can u clarify this one.

thx

Steve
Telerik team
 answered on 09 Dec 2008
1 answer
66 views
Hi
 
Here we have struggling with customized reports with  search criteria.
we need to bind stored procedures to report with search criteria in cs file.
we can do design in report , data as to bind from aspx page.
how can we customize report from aspx page and search criteria.
can plz give me any suggetions..

thx advance
Steve
Telerik team
 answered on 09 Dec 2008
1 answer
369 views
I want to hide/show a Group Header at runtime depending on the value of a boolean variable. For example I want to give a choice to my user whether he wants to see each new group starting on a new page.

Do you a sample code that I can use to achieve this.

Tariq Changgez
Steve
Telerik team
 answered on 08 Dec 2008
1 answer
185 views
I recently upgraded to 2008 Q3 of telerik reporting and a new problem has arisen with my reports.

I have several Reports with Sub Reports.
Each sub report has a group header.
When I preview the report, the group header(s) of the sub reports are appearing twice.
If i export to PDF, TIFF, Excel, or any other format then the report is rendered correctly.

Any ideas?

I've been trying for 3 days to solve this with no luck.  Couldn't find anything on the forum about this either.

Here is the code for my Master Report.
This is a very simple report that serves as a standardized report header and footer with a SubReport in the details section.

Partial Public Class MasterReport 
    Inherits Report 
    Public Sub New() 
        InitializeComponent() 
    End Sub 
 
    Dim _ReportCriteria As IA.Reporting.ReportCriteria 
 
    'Public Sub New(ByVal subReport As ReportBase, ByVal criteria As ReportCriteria) 
    Public Sub New(ByVal subReport As IReport, ByVal criteria As ReportCriteria) 
        InitializeComponent() 
 
        'Init the DataSource 
        Dim oneRec As New GenericCollection(Of String
        oneRec.Add("one"
        Me.DataSource = oneRec 
 
        'Set the Sub Report Type 
        Me.SubReport1.ReportSource = subReport 
 
        Me.PictureBox1.Value = ReportRenderTools.ImageTools.IAHeaderImage 
        Me.reportNameTextBox.Value = subReport.ReportTitle 
        _ReportCriteria = criteria 
    End Sub 
 
    Private Sub SubReport1_NeedDataSource(ByVal sender As ObjectByVal e As System.EventArgs) Handles SubReport1.NeedDataSource 
        Dim subReport As Telerik.Reporting.Processing.SubReport = TryCast(sender, Telerik.Reporting.Processing.SubReport) 
        If Not subReport Is Nothing Then 
            Dim IRep As IReport = TryCast(subReport.InnerReport.ItemDefinition, IReport) 
            IRep.SetReportHeader(_ReportCriteria) 
            Dim data As Object = IRep.CreateDataSource(_ReportCriteria) 
            If data.Count = 0I Then 
                subReport.InnerReport.DataSource = Nothing 
            Else 
                subReport.InnerReport.DataSource = data 
            End If 
        End If 
    End Sub 
End Class 

Steve
Telerik team
 answered on 08 Dec 2008
1 answer
176 views
I tried to upload the code example attached to this email to your code site, but it wouldn't accept the submission.

I'm trying to get my 10,000 points!

I found it almost impossible to find in the documentation "how to" bind a List<T> dataset to a report and also simultaneously update the Chart bar series with the current row of data.

I finally worked out how to do it, and I thought the example would be useful to your users (especially a novice like me) and it would be really useful to add it to the "getting  started" guide, I think.

Simply unzip the file to a folder and open in VS2008.  Build the solution then switch to "Preview".

Once you know how to get the current datarow values the report is processing, the ret is easy, but I didn't see anything about "viewDataRow" in the document,  hence my problem.

Hope this helps someone else.  Please let me know.

Barry
Steve
Telerik team
 answered on 05 Dec 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?