Telerik Forums
Reporting Forum
1 answer
103 views
Hi,

For give me this this has been answered already in this forum.  I tried to find it.

Here's the scenario:
In a Windows Form applicainn, I have a report that contains several sub-reports .  Each sub report binds against business objects that refer to a global singleton object to get their necessary query/look up parameters, like date range.

Currently, the container report handles the .._ItemDataBinding event and sets the global business objects.  Each sub-report handles the .._ItemDataBinding where the business objects are updated and then bould to report.

Well, my data seems to binding late.  It works if i press the preview button twice.

So, it seems like the report has already rendered when the ItemDataBinding event is called.  Does that make sense?

I don't get it.

Is there a better event I could utilize?

Thanks,
Michael

Steve
Telerik team
 answered on 13 Jul 2010
2 answers
160 views
I need to create a datasource in code for a parameter.
The issue I have is when I create the parameter, I set the ValueMember and DisplayMember in the designer and then in the code behind I do this:

    Private Sub ChangeoverRunTimeChart_NeedDataSource(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.NeedDataSource
        ReportParameters("WorkCentres").AvailableValues.DataSource = GetWorkCentresForDDL()
        ReportParameters("WorkCentres").AvailableValues.DisplayMember = "WorkCentreCode"
        ReportParameters("WorkCentres").AvailableValues.ValueMember = "ID"
    End Sub

Which is the needdatasource event for the report.
When I load up the report, it just shows an empty textbox for the WorkCentres parameter. I can not get it to show a combobox.
Could someone tell me what I am doing wrong please?
Jaymie
Top achievements
Rank 1
 answered on 12 Jul 2010
1 answer
210 views
Hi,

I have a horizontal bar chart which is currently sized to a full page size. It works fine for about 40 bars but looks too cramped for more. How can I get a chart to split into multiple pages?

Many thanks,
Jason
Steve
Telerik team
 answered on 12 Jul 2010
1 answer
108 views
Hi,

I am using Telerik Reports with my Silverlight 4 application.  I have a MultiValue parameter and when I select values at runtime, it displays a list of values instead of names.  It works in design mode. 

Is this a bug?

Please help.
Peter
Telerik team
 answered on 12 Jul 2010
1 answer
101 views
Hello, I'm trying to load small reports into a larger report. However the full report has lots of whitespace that shouldn't be there.

This base report has our company logo and some other information.

Is my logic wrong for adding reports to a base report?

           private void LoadReports(List<Report> reports)
        {
            foreach ( Report report in reports ) {
 
                if ( report != null ) {
 
                    SubReport sr = new SubReport();
                    sr.ReportSource = report;
                    this.detail.Items.Add(sr);
                }
            }
        }

I've checked the small reports, and each one only takes up their correct amount of space. I checked it by making the background color different from the main report.

Thanks in advance for any advice/help.
Peter
Telerik team
 answered on 12 Jul 2010
0 answers
88 views
Curious what the best practice would be for this situation.

I have a report I am building with about 700 groups.  Each group has approx 75 detail rows.  I am passing a datatable to the report as the datasource.  The datatable has 21 columns and approx 50000 rows.  The report works great excluding the problem below.

In the group header section there is a long string of text (varchar(max)) which serves as the description for the group.  It seems the "best way" is to return that description iteratively for each row as a column in the datatable.  This is of course quite inefficient on several levels.

What would be the best practice to have the items that display only in the group header portion only sent once, not 75 times, in this instance?

Thanks.

-Joel
Joel
Top achievements
Rank 2
 asked on 10 Jul 2010
8 answers
236 views
Hi, telerik! 
    I have silverlight application, wich use Telerik Silverlight  ReportViewer. raise an error:
" Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnListRenderingExtensionsCompleted(Object state)
"
Can you help me , please, with this question!
Rushikesh
Top achievements
Rank 1
 answered on 09 Jul 2010
1 answer
67 views
I have a report with a drop-down list param that has two options, "Summary" and "Detailed".  It loads into Detailed view by default and works fine then.  If I switch it to Summary view it also works fine.  BUT if I switch it back to Detailed, then it stays in summary view no matter what.  It looks like the issue is basically that if a parameter value is selected for a second time, then it doesn't load a new report for that new parameter change.  I create the parameter programmatically in the constructor.  Anyone know what may be going on?
Steve
Telerik team
 answered on 09 Jul 2010
0 answers
72 views
Hi,

I am trying to use Telerik Reports with my Silverlight 4 application and have a few questions.

1. I have a MultiValue parameter and when I select values at runtime, it displays a list of values instead of names.  It works in design mode.

2. How can I format the parameter controls?  I want to change the width of the controls.

3. I have 2 parameters that are dependent lists (like the Country - State/Province scenario).  I have added to each of these lists a member that says "(All)" and has a value of 0, so the user can have a report showing all the values.  I have filtered the second list to equal the Id of the first list as you described in your Cascading example but I need the "(All)" to be always available.  I could do this if the Filters had an OR option but I can only see AND.  What I am trying to achieve is the user could choose: (All countries and all States/Provinces), or (Australia and all States), or (Australia and Victoria).  How can I achieve this?

Please help me with the above questions.

Thanks
Lance
Top achievements
Rank 1
 asked on 09 Jul 2010
2 answers
139 views
When I try add a textbox to report in silverlight, and the try export it to pdf I get an error: look attached file. There save dialog appear with strange error. 
P.S.: Silverlight 4, Windows Server 2008, IIS7
Siddharth Macwan
Top achievements
Rank 1
 answered on 08 Jul 2010
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?