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
135
DropDownProvider ItemCollection Error
posted

Hi,

I am working with a web application which uses the WebDataGrid and a DropDown EditorProvider for a Column.

When I add Items to the Collection and build the web application it throws an error lik this

Infragistics.Web.UI.ListControls.DropDownItemCollection must have items of type

'Infragistics.Web.UI.ListControls.DropDownItem'. 'infragistics.web.ui.listcontrols.dropdownitem'

is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

I am using NETAdvantage for ASP.NET WebClient 2010 volume 1 (trial version).

Please Help.

Thank You

Praveen

Parents
  • 4555
    Suggested Answer
    posted

    Hi Praveen,

    Can you send me more information regarding the error and how to produce it. Also do you have the  namespace Infragistics.Web.UI.ListControls included in  the register clauses in the web site or the web.config file? The namespace should be added manually or by dropping a new WebDropDown control on the page, before adding items to the control.

    Magued

Reply Children