Telerik Forums
Reporting Forum
1 answer
142 views
In a Telerik report table, I have a row containing a parent group (Classification) and a second row containing a child group (Detail).  Each classification can contain mutiple detail rows.  I am attempting to set this up as a drill down, with the detail rows hidden until toggled from the Classification.  To do this, I have tried the following:

In the first column cell of the Classification row, I am setting a "Toggle Visibility" action, and setting the Detail group as the toggle target.  In the group properties of the Detail group, I have set Visible = False (otherwise the rows are always displayed on the report).  When I run the report, only the Classificaiton rows are displayed in the table, with a toggle button in the first cell, as I intended.  However, when I click any of the toggle buttons, I get the following error:

An error has occurred while processing Table 'table1':
Index was outside the bounds of the array.

If I shut off the Toggle Visibility action, all rows are displayed in the report, and the error does not occur.  Any idea why the toggle feature would be encountering this error?
Hadib Ahmabi
Top achievements
Rank 1
 answered on 09 Jan 2012
1 answer
49 views
I wondering the best way to hide details of the reports based on the count.
My query has select top(1000), so only the top 1000 items are returned.  If I get 1000, I display a message saying please refine your parameters.
How should I set the visibility to hide the details and the groups.  I tried to set the binding of visibility to the expression
IIF( count(fields.field1) < 1000, true, false) , but that's not going to get a total count of the items.  What's a good way to do this?  Is there a total result set count?
Hadib Ahmabi
Top achievements
Rank 1
 answered on 09 Jan 2012
3 answers
142 views

I've a problem with Report Viewer...
In a first time it's all ok...
but after a while when loads the page, it starts to blink (i can't use the report parameters)...
If I press ESC the report parameters are not available but if I refresh the page data are available but the part of parameters continuos to blink...
The report don't works as it should...
What's happened?

Is possible thinking that a process locks the browser?
Can you help me?

Best wishes
Luca Martini

Lasly
Top achievements
Rank 1
 answered on 09 Jan 2012
1 answer
121 views
Hi Guys,
    I have made those reports have been shown by using the Silverlight ReportViewer on client-side.
    Furthermore,Those reports's parameters have been passed from the client-side silverlight to the server-side telerik reporting  reports. 
    
   Those reports have worked fine when those reports's parameters have beed selected all in first time.
   But,The report will occur blank data on the first page of the whole report when  I have selected some parameter in second time.
   
   Please see the code below
   *.xaml
      <telerik:ReportViewer x:Name="MyReportViewer" ReportServiceUri="../ReportService.svc"/>
   
   *.xaml.cs
       this.MyReportViewer.Report = null;
       this.MyReportViewer.Report = "ReportLibrary.ReportTest,ReportLibrary";
       this.MyReportViewer.RenderBegin += new RenderBeginEventHandler(ReportViewer_RenderBegin);
       ....
       ....// passed the report parameters
       args.ParameterValues["Plant"] = plants;
       args.ParameterValues["Areas"] = areas;
       args.ParameterValues["Units"] = units;
       args.ParameterValues["Items"] = items;

   ReportTest.cs [Telerik.Reporting.Report]
      private void ReportTest_ItemDataBinding(object sender, EventArgs e)
      {
          .....//got the report parameters
          .....//generated and executed the mdx query , returned cellset
          .....//Telerik Table Bind the cellset data
           this.tblTest.DataSource = cubeTest;
           //----------------------Fields Binding------------------------------------
          this.txtFChgOn.Value = "=IsNull(FormatDate(Fields.Time),' ')";
          this.txtFArea.Value = "=Fields.Area";
          this.txtFUnit.Value = "=Fields.Unit";
          this.txtFTagName.Value = "=Fields.TagName";
          this.txtFTagDesc.Value = "=Fields.TagComment"; 
      }


   I think,Does the report has cached report data in first time?
   How can I handle this situatio ?
   In case of the cached data , How to solve it?
  
   I am in urgent need of yours help.
  Thanks.
Peter
Telerik team
 answered on 09 Jan 2012
0 answers
86 views
It's simple enough to set a design-time connection string with the Report Wizard. But I'm having a very difficult time trying to set a connection string that will work once the  Winforms App is deployedl.  I have tried using Path.GetDirectoryName Application.ExecutablePath etc. but nothing wants to work. I know there's some simple and probably elegant solution to this, but I'm stuck and must reach out for help.  Any ideas on the best way to do this? I'm using a SQLDataSource and it's connection string finds everything I try disagreeable.  Thanks in advance.
John
Top achievements
Rank 1
 asked on 07 Jan 2012
4 answers
252 views
Hello,

We're using Telerik Reporting Q2 2011 in a WPF C# application.  I'm creating a simple report with one group.  Can you please give suggestions regarding how to make a detail section textbox have bold font when there's only 1 row in the current group?

Thanks much!
Terry Webster
Top achievements
Rank 1
 answered on 06 Jan 2012
6 answers
395 views
Please could you let me know if there is a way to restrict the maximum bar width of a bar in the stacked bar chart? I have a variable number of items that need to be plotted, and if I only have one item on the x axis I would prefer the bar not to fill the width of the chart.

Thanks in anticipation, Carl
Rob
Top achievements
Rank 1
 answered on 05 Jan 2012
15 answers
1.0K+ views
I know this is probably the dumb question of the day, but...
How do I set the color of the bars in a bar chart?
In the designer I have the Series Appearance,Appearance,FillStyle,FillSettings,MainColor = CornflowerBlue
and I have the PlotArea,DataTable,Appearance,FillStyle,FillSettings,MainColor = CornflowerBlue
but this cannot be right as my bars are still some aqua blue color.

???
Dan
Rob
Top achievements
Rank 1
 answered on 05 Jan 2012
3 answers
356 views
Hi,
I just installed the telerik reporting, and I try to replace microsoft report viewer with telerik's
Unfortunately I can't find ServerReport ReportPath atrribute inside telerik report viewer:

<telerik:ReportViewer ID="ReportViewer2" runat="server" 
        Font-Names="Verdana" Font-Size="8pt" Height="700px" ProcessingMode="Remote"
            Width="100%" ShowDocumentMapButton="true" OnUnload="UnloadReportViewer"
            ShowPrintButton="True" ShowRefreshButton="false"
            BorderColor="Transparent" BackColor="#171717" BorderStyle="None" ForeColor="White" CssClass="ReportViewerText">
             
            <ServerReport ReportPath="<%$ Resources:Common, SSRS%>"/>
        </telerik:ReportViewer>

How can I insert the report path for the reportViewer control?
Thanks
Steve
Telerik team
 answered on 05 Jan 2012
12 answers
313 views
Hi..
        i have created report with the width of 10 in.It is working fine.it looks fine in 1 page.But when exporting to pdf ,it is spanning to 2 pages .

 My requirement is ,it should be in 1 page in pdf,pls help me..

Regards
 HR
 
Steve
Telerik team
 answered on 05 Jan 2012
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?