or
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?
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
>
{
}
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;
}
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;
The variable 'report71' is either undeclared or was never assigned.
|
[InvalidOperationException: Not running in a hosted service or the Development Fabric.]
Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.GetDefaultStartupInfoForCurrentRoleInstance() +169
Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener..ctor() +57
[ConfigurationErrorsException: Could not create Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.]
System.Diagnostics.TraceUtils.GetRuntimeObject(String className, Type baseType, String initializeData) +6190124
System.Diagnostics.TypedElement.BaseGetRuntimeObject() +45
System.Diagnostics.ListenerElement.GetRuntimeObject() +91
System.Diagnostics.ListenerElementsCollection.GetRuntimeObject() +150
System.Diagnostics.TraceInternal.get_Listeners() +176
System.Diagnostics.TraceInternal.WriteLine(String message) +113
System.Diagnostics.Trace.WriteLine(String message) +4
Telerik.Reporting.Processing.Timer..ctor(String name, Stopwatch stopwatch) +92
Telerik.Reporting.Processing.Timer..ctor(String name) +61
Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +121
Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +900
Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +262
Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +77
Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +202
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Kindly help me..