Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
955
Error Grid !!! i dont know what happend
posted

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

Parents
No Data
Reply Children
No Data