Hi,
i get this error when i Bind an WebDataGrid, this grid fills with a dataset .. this dataset provides a property called Detalle, but when i rebind many times with a new DataSet, the application fails and display this error.DataBinding: 'Infragistics.Web.UI.GridControls.GridRecordItem' does not contain a property with the name 'Detalle'Below my code ASPX.. anybody knows what happen here?
//////////////////////////////////////////////////////////////////////////
ASPX Code:
visible='<%# esVisible((DataBinder.Eval(((Infragistics.Web.UI.TemplateContainer)Container).DataItem, "Detalle"))%>'
CS code:
private bool esVisible(object isVisible) { if ((int)isVisible == 1) { return true; } return false; }
Regards.Alfredo Melo xD
Hello Alfredo Melo,
I suggest checking the dataset that is causing the error. You may have to verify if the property exists in the dataset.
If you have any questions, please let me know.
Hi Vivian!
thats exactly what i did with the dataset, but the error dissapeared, also i checked of my webDatagrid, but i cant found anything.. anyways :) thanks for your response vivian.
Regards!
Alfredo Melo
ahm better translation :D..
thats exactly what i did with the dataset, but the error dissapeared, also i checked my webDatagrid, but i couldn't find anything.. anyways :) thanks for your response vivian.