I am poulating a WebDataGrid (Version=10.3.20103.1013) with a DataTable. When I issue the statement:
Dim myBoundDataField As New BoundDataField(True)
I keep getting the error:
'BoundDataField' is ambiguous in the namespace 'Infragistics.Web.UI.GridControls'
I am importing:
Imports System.DrawingImports System.Drawing.ImagingImports System.Drawing.Drawing2DImports System.IOImports System.Globalization.CalendarImports System.DataImports System.Data.SqlClientImports SystemImports System.Collections.GenericImports System.WebImports System.Web.UIImports System.Web.UI.WebControlsImports Infragistics.Web.UI.GridControls
Any thoughts on why I get this error?
Hi rau2,
This is quite strange. I'm not sure, but does BoundDataField exist in the System.Web.UI.WebControls namespace or something else? We should only have it once. The only other thing I could think of is if you were somehow referencing multiple versions of the Infragistics dlls.
regards,
David Young
same thing happened to me.. but just choose one of them, :) use explicit reference to the control
Alfredo MH xD
Class
sorry :)
My bin folder contains only one version of Infragistics dll's (10.3). I have not found the BoundDataField in any other namespaces so far.
I've been looking on Google for "BoundDataField" and the only references to it are related to Infragistics controls.
Can you give me an example of what you mean? Everything I have tried did not work.