Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Infragistics WebGrid
Message
De
08/06/2005 11:57:58
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Infragistics WebGrid
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01021431
Message ID:
01021431
Vues:
120
Hi! I'm new with Infragistics controls.
I simply put the WebGrid on a ASP page and assign or bind a dataset to it,
that;s about it. I have this error message: Is there something I'm missing?
Thanks Joel :)
Parser Error Message: Infragistics.WebUI.UltraWebGrid.BandsCollection must
have items of type 'Infragistics.WebUI.UltraWebGrid.UltraGridBand'.
'Infragistics.WebUI.UltraWebGrid.UltraGridBand' is of type
'System.Web.UI.HtmlControls.HtmlGenericControl'.

I had this response from Infragistics Newsgroup but since we are interfacing with MM is this OK?? Thanks Joel :)

Hi Joel,

That happens when Visual Studio can not determine the proper type of a
collection item, in this case an UltraGridBand. Instead of determining that
UltraGridBand should have a tagPrefix of "igtbl", it writes the tag out as
"Infragistics.WebUI.UltraWebGrid.UltraGridBand". Unfortunately, the parser
doesn't understand how to parse that tag back in.

The usual suspect is the <%@ Register TagPrefix="igtbl" ....%> tag at the
top of the ASPX file. If your assembly is in the Global Assembly Cache
(which is where it should be), the "Assembly" attribute should be the full
name of the assembly, including PublicKeyToken and Version info. If it does
not, one of 2 things has gone wrong. Either the UltraWebGrid assembly was
not in the GAC when you added the grid to your form, or perhaps the
UltraWebGrid assembly was already referenced by the project, and the project
reference was set CopyLocal=true.

To resolve the problem, you need to ensure that the UltraWebGrid assembly is
indeed in the GAC. Check your project reference and ensure that
CopyLocal=false for Infragistics.WebUI.UltraWebGrid. Lastly, you must
modify the Register directive in your aspx file. It should look something
like
<%@ Register TagPrefix="igtbl" Namespace="Infragistics.WebUI.UltraWebGrid"
Assembly="Infragistics.WebUI.UltraWebGrid.v5.1, Version=5.1.20051.25,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>

Hope this helps,
Tony
Infragistics Web Team
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform