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.
|