Telerik Forums
Reporting Forum
1 answer
61 views
Hi
i wanna to know .is any way to set more than two object's conditional formating?

Why am i choose three textbox at the sametime and set some conditional formating for them.
then i check any one of there conditional formating all empty...?
Peter
Telerik team
 answered on 04 May 2010
1 answer
131 views
I have a report that I have created 2 report parameters for... they are Tier and Organization.  They are both pulling from the database a selection list.  My issue is this... you are required to make a selection from the dropdownlist and there is no default data that populates the report until you make your selections.  You have to make selections from Tier and Organization for the report to populate.  I would like it if I could select a Tier, then for Organization it would pull up all of them for that Tier.  and visa...versa if I pulled up an Organization, then for Tier it would pull up all of them for that Organization. 

My selections in the database for TIer are 1, 2, 3, 4, 5.  I would like it if there were an extra selection ... something like "All" or "Default" to indicate Tier as a wildcard... so to speak ... that would pull up all the Tiers in the database.  I don't want the User to be stuck with only making the selections from the database.

Any suggestions on how to use the report properties tool to make this happen would be fabulous.

Thanks!
wen

Here are my selections for Tier in the properties...
ReportParameters:
AllowBlank True
AllowNull False
DataSource sqlDataSource1[TelerikReporting.SqlDataSource]
DisplayMember = Fields.Tier
Filters (No Filters)
Sorting (No Sorting)
ValueMember = Fields.Tier
Mergable True
Name Tier
Text Tier
Type Integer
Value
Visible True

Page Properties...
Filters:
=Fields.Tier =  = Paramaters.Tier.Value
And = Fields.Organization =  = Parameters.Organization.Value

Milen | Product Manager @DX
Telerik team
 answered on 04 May 2010
1 answer
185 views
Having problems with the Document Map on a ReportBook with multiple reports.  I'm wanting each report to appear in the document map so I have bookmarks set on each individual report.  But at runtime, the links of the Document Map aren't behaving correctly.  They all just link back to the first report in the list.  I have a feeling this has to do with there being multiple root nodes in the map.  How do I get this to work?
Svetoslav
Telerik team
 answered on 04 May 2010
1 answer
129 views
I am trying to build a report that can be used for (lets says) 50 clients to be used via the web. How can I get the report to auto filter the results by using a session"id"?

For xample : If Client 1 logs in and runs the report, I only want Client 1 information to show.

I cannot seem to find any documentation on this, can someone point me in the right direct or would someone have directions on how to implement this?

I have tried adding the session varible below, I also added a parameter from the front end that was named the same but still no success.

 rpt = New ClassReports.PurchaseItemstoDate  
                rpt.ReportParameters(0).Value = Session("role")  
                ReportViewer1.Report = rpt 
Dwayne Starkey
Top achievements
Rank 1
 answered on 04 May 2010
1 answer
96 views
Hi. I have two reports, r1 and r2. r2 is a subreport of r1, and it has a method called m1, which is public. In r1, the subreport's name (which, as I said, references r2) is sb1. How can I access the m1 method through sb1?

To make myself more clear, basically what the m1 method does is to set r2's DataSource, and I need to do it from the parent report, which is r1. Am I trying to do it in the right way? What do you recommend?

Thanks.
Hugo Aristizabal
Top achievements
Rank 2
 answered on 04 May 2010
1 answer
140 views
Hi,

I have started using the Telerik Reports and am a bit stumped.  In case it matters, I am using the 3.2.9.1211 version of the Silverlight Report Viewer and the 4.0.10.423 version of the engine on the server.

I made a report that didn't use any parameters which successfully loaded in the Silverlight Report Viewer.  I then modified the report to accept report parameters for a start time and end time.  They are bound to the equivalent parameters in a sql query. 

When I run the version with parameters the report viewer finishes with the following message:

Error: Value cannot be null.
Parameter name: typeName


I have checked in the ItemBinding event and the sender appears to have the correct data from the silverlight client.  I have tried using string and DateTime data types, in the parameter definition and also sent by the silverlight client.

Though one oddity.  I noticed in the report definition defines its type at ReportParameterType.DateTime whereas silverlight sends a System.DateTime.  Would that be a cause for problems?

Cheers,
Clint
Peter
Telerik team
 answered on 04 May 2010
2 answers
290 views
Hi,
After getting the
"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
error about Telerik Reporting, I have applied the steps described in the following thread(Medium Trust issue).

http://www.telerik.com/community/forums/reporting/telerik-reporting/loaderexception-exporting-pdf-report-from-web-page.aspx

After that I started to get this error message about OraclePermission.

"Request for the permission of type 'System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."

I've tried to setup trust level in web.config file as in the example but couldn't solve the problem.
<securityPolicy>
<trustLevel name="Custom" policyFile="web_customtrust.config" />
</securityPolicy>
<trust level="Custom" originUrl="" />

Would you give me any walkthrough for this issue?

Thanks in advance.
mesut
Top achievements
Rank 1
 answered on 04 May 2010
1 answer
110 views
Greetings,

Is there anyway to create EXTERNAL reports without having to compile a project?

We currenly use CR which uses a file with .rpt extension and we have the capability to create reports then place then in a reports folder. The page access the list which the users can run without having to recompile the project and have 60 users logout of the application every time we add a report.

Thanks in advance!
Ivan
Telerik team
 answered on 03 May 2010
0 answers
135 views
Hi,

this is shanker i am doing one project .Me requirement is  print report without showing the telrik report.Its working on developer system .But not worked on other system and server and local server i got this error "external component has thrown an exception" How to solve this problem please give solution of this problem 

this my code 

if (e.CommandName == "Print")
            {
                int? fee_receipt_id = int.Parse(e.CommandArgument.ToString());
                int? status_code = null;
                int? call_user_id = LogonDetails.Instance.sys_lclvar_user_id;
                int? call_screen_id = GetScreenId();
                int? session_id = LogonDetails.Instance.sys_lclvar_session_id;
                string call_ip_address = CommonMethods.CurrentIP;
                bool? audit_report_execution = LogonDetails.Instance.sys_lclvar_audit_user_action;
                bool? audit_user_action = LogonDetails.Instance.sys_lclvar_audit_user_action;
                string status_text = String.Empty;
                var printdata = ReportsManager.get_report_fee_receipt(
                     fee_receipt_id, call_screen_id, call_user_id, session_id, call_ip_address, audit_user_action, audit_report_execution, ref status_code, ref status_text);
                if ((!status_code.HasValue) || (status_code.Value != 0))
                {
                    DisplayMessage(false, status_text);
                    return;
                }
                string strTitle = LogonDetails.Instance.sys_lclvar_facility_name;
                
                var report = new TelerikComponentsWS.Reports.RepFeeReceipt();
                report.DataSource = printdata;
                Telerik.Reporting.Drawing.ExternalStyleSheet exx = new Telerik.Reporting.Drawing.ExternalStyleSheet("~\\css\\ReprotStyleSheet.xml");
                report.ExternalStyleSheets.Add(exx);
                report.ReportParameters[0].Value = strTitle;
                using (System.Windows.Forms.PrintDialog printDlg = new System.Windows.Forms.PrintDialog())
                {
                    printDlg.AllowSomePages = true;
                    printDlg.AllowCurrentPage = false;
                    printDlg.UseEXDialog = true;

                    if (System.Windows.Forms.DialogResult.OK == printDlg.ShowDialog())
                    {
                        Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
                        reportProcessor.PrintReport(report, printDlg.PrinterSettings);
                    }
                }
                ////Telerik.Reporting.Processing
                //System.Drawing.Printing.PrinterSettings printerSettings = new System.Drawing.Printing.PrinterSettings();
                //// Adjust the printer settings if necessary...
                //System.Drawing.Printing.PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController();
                //printerSettings.PrinterName = "MyHomePrinter";
                //// Print the report using the printer settings.
                //Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
                //reportProcessor.PrintController = standardPrintController;
                //reportProcessor.PrintReport(report, printerSettings);

              
            }

please send replay it's argent 


thanks and regards 

shanker.B
shanker bangari
Top achievements
Rank 1
 asked on 03 May 2010
4 answers
154 views
Hi,

While printing Telerik reports, the URL of the page is printed at the bottom and page number at the top.

This is default setting of the browser and we can change it in the browser's page setup.

But is there any way I can change it through code or any property of Telerik reports? Because when I try to do the same thing with Devexpress' XtraReports, I don't see this issue. Which means this thing can be handled through code because they are also using the same PDF engine to print.

I am using Telerik Reporting 2010 Q1 (vesion 2010.1.310).
Vikas
Top achievements
Rank 1
 answered on 02 May 2010
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?