Telerik Forums
Reporting Forum
1 answer
88 views
Hi,

I'm trying to create a report that represents a calendar with appointments listed for each day. I am following the example provided here: http://blogs.telerik.com/blogs/posts/11-05-03/creating_a_calendar_report_with_telerik_reporting.aspx

PROBLEM 1:
The problem is that when I preview the report at both design and runtime the report generates a calendar for each day in my date range. So for example if the date range is 1 June 2011 through 30 June 2011 I get 30 pages with the June calendar on each page. I can't for the life of me figure out why. Again, I followed the code example above and cannot determine the difference between the sample solution and mine.

PROBLEM 2:
This is not as important but the subreport in the body of the crosstab is positioned to the 0, 0 position of the crosstab itself, not the crosstab of the body. The problem exists in the sample above.

PROBLEM 3:
How can I allow the crosstab body to grow? If the contents of any one day in the calendar is greater than the available space I want the day bounding areas to expand.

Thanks,
Dave
Peter
Telerik team
 answered on 13 Jun 2011
1 answer
78 views
Is there a way for me to handle the "export to CSV" server side? I have a requirements that states that the export from a report delivers a row/col result that contains data not bound to the report. Far as I can tell, there is not an "OnExport" event available in the report viewer.
Steve
Telerik team
 answered on 13 Jun 2011
1 answer
462 views
Hi,

How can I change the visibility of a panel (or for that matter, any UI element) based on the value of a piece of data returned in the report's Select statement?

Can I access the report data in the 'code behind' of the report without going through user functions?

Can I execute code that accepts data fields at a higher level than the individual report field level e.g. to hide or show a panel based on a data value?

Apologies for the 3-in-1 question!

Regards,
Steve
Steve
Telerik team
 answered on 13 Jun 2011
3 answers
123 views

I have recently upgraded one of my reporting projects to the latest version of Telerik (5.0.11.510) and I have noticed that if a text box has no underlying data (Null or blank values) then it is not rendered on the report. The problem that I have is I use the text boxes to draw lines on the report (make a grid) using the textbox borders, if they are not rendered then I get gaps in my grid (see screen shot attached.
Is there an option to force the report to render all of the text boxes like it used to do in previous versions?

Steve
Telerik team
 answered on 13 Jun 2011
0 answers
71 views
Hi,
here the problem:
I create a Report and i test it by a winfrom it work fine. If i modify this report adding some code getting data form my DataLayer and i compile it all still  run fine, but the design of my win form (in design time) show me  an error

1- I create 2 class in report  library

 

 

 

 

public class mCubeDistrXday
    {
        public int cont { get; set; }
        public string cardType{ get; set; }
        public string Country{ get; set; }
        public string na { get; set; }
        public DateTime ? date { get; set; }
    }


public  class lstCubeDistrXday : List<mCubeDistrXday>
    {
  
     }

2- I create a Table Report (with WIzard)
the datasource is lstCubeDistrXday collection.

3-I create a report by wizard
-As datasource type i set the  ObjectDataSource one.
-I bind it to my DataLayer Library and i set a method  as datamemeber (let say...getMyItemsFromDB) My DL library is referncede in Reprto Library
-The wizard let me choice the fields to put in table report.
-Finally i have A table report with all my filed

4- I write some code to populate the collection (i want tesst it wit a hardcoded collection first, so i dont yet get data from DL):

private List<Model.mCubeDistrXday> myItemList = new List<mCubeDistrXday>();


       public Report8() {   
            InitializeComponent();             
            mCubeDistrXday i = new mCubeDistrXday();
            i.cont=10;
            i.data=new DateTime(2011,02,02);
            i.na="";
            i.cardType="OPE";
            i.country= "ITA";
  
             myItemList.Add(i);
            i = new mCubeDistrXday();
            i.cont = 10;
            i.data = new DateTime(2011, 02, 02);
            i.na = "";
            i.cardType= "OPE";
            i.country= "EXT";
  
            myItemList.Add(i);  
  
     var selectqry =
      from t in myItemList 
        where t.nazione != null && t.tipoTessera != null && t.data != null
      select new { nazione = t.nazione, tipoTessera = t.tipoTessera, cont = t.cont, data = t.data, na = t.nazione == "ITA" ? "ITA" : "EXT" };
    
    this.objectDataSource1.DataSource = selectqry;
}

4-I add a winForm project to my solution  to debug the report  the report
on the form i add a reportViewer then a ReportBook i ad my report to Rport book and finally i set hte property report to report81 (it is my report)
ALL WORK FINE and i See my data in my report

Now  i try to binf me DataLayer, just a little change:

public partial class Report8 : Telerik.Reporting.Report
   {
       
       private DataObjectsSE.IDbStat.IDbStatDao daoDbStat = DataObjectsSE.DataAccess.dbStatDao;
       public Report7() {
           //
           // Required for telerik Reporting designer support
           //
           InitializeComponent();
   
    
var selectqry =
         from t in daoDbStat.getCubeTipoTesseraDataNazione("MyParam")  
         where t.nazione != null && t.tipoTessera != null && t.data != null
         select new { nazione = t.nazione, tipoTessera = t.tipoTessera, cont = t.cont, data = t.data, na = t.nazione == "ITA" ? "ITA" : "EXT" };
           this.objectDataSource1.DataSource = selectqry;
}

I compile the report Library and i launch the winForm project to see the report.

ALL WORK FINE. i can see my Data.
But i have a problem:  at design time the WINFORM can't display and shows me  the following message:

The variable 'report71' is either undeclared or was never assigned.



 
Instances of this error (2)
1.
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
2.
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
 
Help with this error
 
Forum posts about this error



PLease, any Idea?


























ciccio
Top achievements
Rank 1
 asked on 11 Jun 2011
1 answer
91 views
Please remove, solved....

Justin
Top achievements
Rank 1
 answered on 10 Jun 2011
3 answers
348 views
Is It possible to set a Field value as objectdatasource parameter value?
IvanDT
Telerik team
 answered on 10 Jun 2011
2 answers
85 views
I was shocked that telerik reporting can't go with drill through without compiled 'dll'' at web site project.
It was ok when telerik reporting is under web application project. Design view works fine and when I set navigation to another report, the dll information was set automatically to reportdocumenttype at desgin view.

But  in web site project desgin view doesn't work so if drill through was gonna be made, telerik reporting had to be compiled to dll seperately and add into project. But this is problem. Database connection can be changed and depends on specific environment which mean whenever program containing telerik reporting moves to other environment the telerik reporting must be compiled again for that. 

I think drill through of telerik reporting is horribly limited even excepting this.

So somebody can help me.
I need drill through function in web site project and all of chart in report should be bound dramatically.
Main problem is target report to be navigated when clicking an item can't be set dramatically. It should be set in advance before drill through. I wanna fill the objectdatasource in target report with data on the fly.

Is there any solution for this? . . 
Stephan
Telerik team
 answered on 10 Jun 2011
7 answers
153 views
I wanted to confirm that this is either a known issue, or there is a workaround I can do in code?

Mac users running OS: Mac OS X 10.5.7 with Firefox: 3.5.1  report they only get page 1 of a multi page report when they use the reporting print button. Safari:  3.2.3 users report receiving an error message "Unable to perform the Print operation"

It is not critical since export to pdf is a workaround, but it happens to be my boss so if there is a way to fix it, I would like to...

Thanks.


[edit:  Same behavior of first page only when using the print button under Ubuntu 9.04.  We don't have any linux users currently so it doesn't matter to me, but thought I would add it to the list]


Steve
Telerik team
 answered on 10 Jun 2011
9 answers
370 views
Is Telerik reporting a viable solution for an Azure hosted application?

I understand it won't render to PDF but I do need to view and print reports. Will it do that much? If so what are the steps as I've tried with the latest version and it won't render in the cloud.

Any other suggestions for reporting in Azure?
Steve
Telerik team
 answered on 10 Jun 2011
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?