Hello:
first of all, i want to tell you that i´m new in telerik, and i ´ve searched this problem in the forum but i can´t solve it.
i'm working with a List in the report.
i'm using linq to set the list.datasource (in the detail_ItemDataBinding event) and it works well, but, when the datasource.count() == 0, all the textbox inside the list give this error
An error has occured while processing TextBox 'textBox22':
The expression contains object 'fechaHora' that is not defined in the current context.
it only appears when linq return 0 rows.
In the list i´ve 10 textbox with the property value = = Fields.[fechaHora]
Thanks for your help and sorry for my english.
Sebastián
first of all, i want to tell you that i´m new in telerik, and i ´ve searched this problem in the forum but i can´t solve it.
i'm working with a List in the report.
i'm using linq to set the list.datasource (in the detail_ItemDataBinding event) and it works well, but, when the datasource.count() == 0, all the textbox inside the list give this error
An error has occured while processing TextBox 'textBox22':
The expression contains object 'fechaHora' that is not defined in the current context.
Telerik.Reporting.Processing.Table _listTriage = (Telerik.Reporting.Processing.Table)detailSection.ChildElements.Find("TriageList", true)[0];
var dsTriag= from d in dc.Guardia.Where(w => w.registroGuardia == id) select d;
it only appears when linq return 0 rows.
In the list i´ve 10 textbox with the property value = = Fields.[fechaHora]
Thanks for your help and sorry for my english.
Sebastián