Telerik Forums
Reporting Forum
2 answers
302 views
Hello,

I'm trying to create a dynamic report, I used a example I found here in this forum, and it worked fine while I had a object list. Now I have a list of dictionary (IQueryable<Dictionary<string, object>>) that I create base on business rules. The problem is I can't create the columns properly, I tried to bind the columns with "=Item[\"name_of_column\"]" and even with tried to inherit the dictionary class, creating a function to do the "Item[]" action, but did not work. Same problem with ExpandoObject, I can't access as dictionary, and I can't access the properties directly.

Actually it would be simpler to work with a Dictionary, how do I access the values based on the keys? Other option I tried and did not work was to create a User Function to get the value, but I can't access the current row object or the current row index.
Habib
Top achievements
Rank 1
 answered on 30 Jul 2012
0 answers
37 views
Hi,

I have a reportbook generated programatically in the Page_load of my report.aspx, it contains 3 default reports that must show once the report book is loaded. This is working fine. However there are four optional reports that the user can choose to display by selecting options on the parameter UI of the web report viewer. My question is how do I get to add the optional reports to the report book once the user selects them and clicks on the Preview button - The Page_load is not called again and I have no way on intercepting the Preview click event from code behind? I am currently using Q1 2012 Telerik report and was wondering if anything has been added in the form of say a ReportBook before rendering event in Q2 2012 based on http://www.telerik.com/community/forums/reporting/telerik-reporting/silverlight-reportviewer-and-reportbook.aspx#1435670 . Any and all the help is greatly appreciated.


Regards

Francis.
Francis
Top achievements
Rank 1
 asked on 30 Jul 2012
4 answers
311 views
Say I have a report that includes a crosstab, and that the cross tab has grouping rows so that I have something like this...

Group 1 - Subgroup 1 - Item
                                       - Item
                 Subgroup 2 - Item
                                       - Item

Is there a mechanism that I can use that will allow me to conditionally format data so that Subgroup X and Subgroup (X+1) are shown with different row colours?

I'm looking for a solution that I can use at any leve of grouping.

--
Stuart
Jane
Top achievements
Rank 1
 answered on 29 Jul 2012
3 answers
124 views
We are using the webforms report viewer and successfully implemented showing a busy indicator while waiting for the print dialog by following the suggestion in this thread:  http://www.telerik.com/community/forums/reporting/telerik-reporting/busy-indicator-while-waiting-for-print-dialog.aspx.   However, is there a way to display a busy indicator while waiting for the export to complete if the user choses to export the report rather than print it?  

Thanks,
Kevin.
Elian
Telerik team
 answered on 27 Jul 2012
5 answers
2.7K+ views
I am trying to display a table only if it contains rows in a Telerik Report.  I have tried various ways of setting the conditional formatting, but to no avail.

Any ideas?
Steve
Telerik team
 answered on 27 Jul 2012
1 answer
126 views
I'm currently evaluating different solutions for label printing using asp.net, visual studio 2010 c#.
I've managed to knock up a crude test application which looked promising.

However I need to be able to print labels such as Avery L4769 which has 4 labels across the page printed landscape, so 4 columsn 1 row.
Is this going to be possible using Telerik Reporting?

Thanks

Sarah.

Sarah
Top achievements
Rank 1
 answered on 27 Jul 2012
1 answer
388 views
Hi,

How do I get references to report datasources from code? I know I can access them inside the report class but I need to get them outside the report class (without knowing/typecasting to that certain class type), like if I have reference to some report just as general report class and it containts openAccessDataSource1, how do I get reference to it or to all the datasources similar to this way in the link (which does not work for them):

http://www.telerik.com/community/forums/reporting/telerik-reporting/loop-through-all-controls.aspx#1871947
Steve
Telerik team
 answered on 26 Jul 2012
2 answers
167 views
Hi Team

I need to hide all the export options from Report viewer except (PDF and XLS). I had done below changes in web.config. It works fine in my local machine. But It does not work in Deployed link.

In one of the thread I understood that we need to deploy Telerik.Reporting.XpsRendering.dll. I have added this dll in bin folder of deployed code. But still I get the exception.

Please help me what's wrong with this code??


    <section
            name="Telerik.Reporting"
            type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting,  Version=5.1.11.928, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
            allowLocation="true"
            allowDefinition="Everywhere"/>

<Telerik.Reporting>
    <Extensions>
      <Render>
        <Extension name="IMAGE" visible="false"></Extension>
        <Extension name="XLSX"  visible="false"></Extension>
        <Extension name="RTF"   visible="false"></Extension>
        <Extension name="PPTX"  visible="false"></Extension>
        <Extension name="DOCX"  visible="false"></Extension>
        <Extension name="CSV"   visible="false"></Extension>      
        <Extension name="MHTML" visible="false"></Extension>
        <Extension name="XPS"   visible="false"></Extension>
      </Render>
    </Extensions>
  </Telerik.Reporting> 
Sharan
Top achievements
Rank 1
 answered on 26 Jul 2012
0 answers
162 views

Hi,

I have a user function bound to my report to position the PictureBox.

public static  PointU Location(int _position)

{

    double position = _position;

    return new PointU(new Telerik.Reporting.Drawing.Unit(position, UnitType.Pixel), new Telerik.Reporting.Drawing.Unit(65, UnitType.Pixel));

}

The problem I am continually having is that sometimes this works and sometimes it does not! I get the error in the report that the function ‘Location’ cannot be found in red where the Logo - PictureBox should be.
When I print the report, the first two attempts I get the error but on the third attempt it works correctly!! Could there be a problem when loading the image, the report is trying to display it before it is fully uploaded ?

The picture value I bind to the Uri read out of a database. Sometimes this also does not work and sometimes it does, message cannot find or locate picture.

 

If you can advise me why this is so, so I can correct it that would be grate.

 

Thanks very much

Wayne

Wayne
Top achievements
Rank 1
 asked on 26 Jul 2012
1 answer
211 views
Hi ,

I am trying to pass report parameters to an oracle query.....by using this query in sql data source

select *
from  customer
where
 (CustomerShop=:v_customer_Shop)

When I try to pass in value to the V_customer_shop it does not return any records  even though it has records in the table.

I am passing the v_customer_shop as String type should i change that..Is there a special string type for oracle parameters..Please guide me..
Thank you
 
Ravi
Top achievements
Rank 1
 answered on 25 Jul 2012
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?