This is a migrated thread and some comments may be shown as answers.

edges of the panels

13 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Camila Foltran
Top achievements
Rank 1
Camila Foltran asked on 31 Jul 2012, 12:40 PM
Hi,
I updated the version of the 2008 report for the 2011 version and now the side edges of the panels do not close right ...

see:
http://www.tafner.net.br/quebra.png

13 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 31 Jul 2012, 12:59 PM
Hello Camila,

Upgrade to Q3 2011 or later to resolve this problem.

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Camila Foltran
Top achievements
Rank 1
answered on 31 Jul 2012, 03:27 PM
Hi, I updated to version Q2 2012 and now occurs error:

http://www.tafner.net.br/erro.png

0
Steve
Telerik team
answered on 31 Jul 2012, 03:38 PM
Hello Camila,

Check the following forum post for more information on the error and let us know if further help is needed.

Regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Camila Foltran
Top achievements
Rank 1
answered on 02 Aug 2012, 03:03 PM
Hi, this problem was solved, but now there is this other error in another report:

code in rptResumoOrcOp.Designer.cs:         

  instanceReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("LinhaID", "=Fields.LIN_N_CODIGO"));
        
 Error:

Invalid value of report parameter 'LinhaID'.

what should I do?
0
Steve
Telerik team
answered on 03 Aug 2012, 01:35 PM
Hello Camila,

The provided code is correct and we would need a sample report or more context to identify where the culprit is.

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Camila Foltran
Top achievements
Rank 1
answered on 03 Aug 2012, 07:43 PM
Hello, the problem occurs in ReportParameter Collection Editor, property value, only works if I place a value (eg 1), but this value comes from the database, and if I leave it empty gives error ...
 
How to pass parameters to the subreport in reporting in 2012?
0
Steve
Telerik team
answered on 06 Aug 2012, 11:33 AM
Hi Camila,

We've covered the changes to the report parameters since Q1 2010 in your other forum thread. Please review it again, and make sure you conform to the requirements.

We cannot offer concrete suggestions as we do not have your report, so if you're still having problems, it would be best if you provide us with a runnable sample report that exhibits the problem and we would advise you once we review it.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Camila Foltran
Top achievements
Rank 1
answered on 13 Aug 2012, 05:11 PM
0
IvanY
Telerik team
answered on 16 Aug 2012, 02:08 PM
Hello Camila,

Since the introduction of the new Report Sources you have to pass to the SubReport a ReportSource object which has its parameters assigned. Most probably you are used to passing the parameters directly to the SubReport item. However this no longer works and you will have to adopt the new way for doing this:
var irs = new InstanceReportSource();
irs.ReportDocument = MyReport();
irs.Parameters.Add(new Parameter("LinhaID", databaseID));
 
subreport1.ReportSource = irs;

I hope that helps.

Regards,
IvanY
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Camila Foltran
Top achievements
Rank 1
answered on 16 Aug 2012, 04:39 PM
Hi,
Could you pass a project-example?
0
IvanY
Telerik team
answered on 17 Aug 2012, 10:43 AM
Hello Camila,

Please check out the Report1.Designer.cs file - there you will find the appropriate way to assign report source parameters when using a SubReport item.

All the best,
IvanY
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Camila Foltran
Top achievements
Rank 1
answered on 20 Aug 2012, 01:11 PM
Hello, you handed me a sample containing the fixed parameters, but I want an example of how to pass parameters that come from the database, with the field name ...
This example does not speak like I do in the subreport, the filters:

irs InstanceReportSource var = new ();
irs.ReportDocument = MyReport ();
irs.Parameters.Add (new Parameter ("LinhaID" DatabaseID));
 
subreport1.ReportSource = irs;

Thanks,
Camila.
0
IvanY
Telerik team
answered on 23 Aug 2012, 12:51 PM
Hi Camila,

There is no difference between passing hardcoded values and variables. The code you need to pass the parameters is the same. If you want to pass variables then you need an additional data source, but that is not related to the subreport parameters code snippet.

I have attached the same sample, but this time using fields instead of hardcoded values. Please have in mind that if you still experience problems and you are not able to resolve them or the problem is somewhere else you can always send us a runnable sample. That way we can view and debug it at our end and advise you more accordingly.

All the best,
IvanY
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Camila Foltran
Top achievements
Rank 1
Answers by
Steve
Telerik team
Camila Foltran
Top achievements
Rank 1
IvanY
Telerik team
Share this question
or