Hi,
i get an error when i Bind an WebDataGrid, this WebDataGrid 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
PD. the application works fine, but after of many search and bindings, the webdatagrid fails
Maybe i need to change.. to.... devexpress...............
.. and the datasource contains the Column called "Detalle" in everypostback.. :(
thats what i did when i get the error, but everything seems fine, and works fine, but when i search more, and the page causes more than 2 "postbacks", the page displays the error, but before.. this works fine.. and later display error ..
i don't understand
thanx for your replay :) but im still having the issue.
Alfredo Melo H
Hi
Check your datasource for the column Detalle.
Remember the datafield names are case sensitive!