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
360
Not backward compatible?
posted

I "inherited" an application using Infragistics and am running into an error:

Infragistics.WebUI.UltraWebTab.Tabs must have items of type 'Infragistics.WebUI.UltraWebTab.TabItem'. 'Infragistics.WebUI.UltraWebTab.Tab' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

From the error message, I understand what I need to do to make it work. Is there a list of the incompatabilities between versions so I don't have any suprises when I go to release the application?

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    The most likely reason for this to occur is that your tab item elements may not show the correct ASP.NET tagprefix.

    Take a look at your ASPX markup.  Do you see instances of the following (which is just the beginning of an element?

    <Infragistics.WebUI.UltraWebTab.Tab

    If you find them, change it to match the tagprefix as defined in the Register directive for the WebTab assembly.  For instance, if your tagprefix is "igtab", change the above to read:

    <igtab:Tab

    Another possibility, though less likely, is that you may have references to multiple versions of the toolset in the same website.  Most of the time, though, this will give you errors stating that a particular class name is "ambiguous" because it is defined in two different assmeblies.  Running the Project Upgrade Utility on your website, and clearing your licenses.licx file, should clear this up.

Children