I have recently started using the Telerik reporting to make a multi-sourced complex report. I have figured out how to fulfill most of my requirements, but I have two issues currently with the Telerik reporting that I have not been able to resolve.
All of the paging/printing/exporting options at the top are doubled up. (A colored icon and a greyed icon) This happens regardless of the Skin that I tried. Since the demos don't have a source option like the other Telerik controls, I have not been able to view how it was done in your demos to make the header look normal. I have attached a small screenshot below.
Report definition looks like this:
"NAVPass.Reports.AMRForm, NAVPass.Reports, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null"
"Generating AMR document..."
I have checkboxes attached to a data source. They load correctly, but no matter what parameters I try in the properties, they always appear left justified, and I am trying to center them within the column. I have tried the following properties:
TextAlign : Center
Padding->Left : [some value]
CheckAlign : MiddleCenter
Location->X : [some value]
The two tables have data sources that are loaded in a fairly straightforward way:
// Detail section
> inspectList = insRepo.GetInspectionsForAMR(ReportParameters["AMRID"].Value.ToString());
tableInspections.DataSource = inspectList;
> equipList = equipRepo.GetEquipmentForAMR(ReportParameters["AMRID"].Value.ToString());
tableEquipment.DataSource = equipList;
From the designer.cs file:
this.cbRequired.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.cbRequired.CheckedImage = ((object)(resources.GetObject("cbRequired.CheckedImage")));
this.cbRequired.IndeterminateImage = ((object)(resources.GetObject("cbRequired.IndeterminateImage")));
this.cbRequired.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.30000001192092896, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch));
this.cbRequired.Name = "cbRequired";
this.cbRequired.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.59999996423721313, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.24999998509883881, Telerik.Reporting.Drawing.UnitType.Inch));
this.cbRequired.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid;
this.cbRequired.Style.Padding.Left = new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch);
this.cbRequired.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
this.cbRequired.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
this.cbRequired.StyleName = "";
this.cbRequired.Text = " ";
this.cbRequired.UncheckedImage = ((object)(resources.GetObject("cbRequired.UncheckedImage")));
this.cbRequired.Value = "=Fields.Required";
Please let me know what I am doing wrong. Thanks.