Welcome Guest Search | Active Topics | Sign In | Register

Update to EO.Web 2011 trashes established grid Options
DiscoverSoft
Posted: Tuesday, July 26, 2011 5:22:59 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2010
Posts: 69
Please help. I have a grid I've been working on with my old 2009 EO.web version. All was working well, and, indeed, when I first run the page in the new version it's working okay (yes, I've changed the references to the current EOweb.dll version).

But when I change ANY property of the grid, it rewrites the code and gives me 66 errors on the page. Below is the first three of these.

Any ideas?

Thanks.



Error 213 EO.Web.GridItemStyleSetCollection must have items of type 'EO.Web.GridItemStyleSet'. 'EO.Web.GridItemStyleSet' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. D:\Programming\APLwebApp\APLwebApp\frmLocatorStatus.aspx 117

Error 214 EO.Web.GridItemStyleSetCollection must have items of type 'EO.Web.GridItemStyleSet'. 'ItemStyle' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. D:\Programming\APLwebApp\APLwebApp\frmLocatorStatus.aspx 118

Error 215 EO.Web.GridItemStyleSetCollection must have items of type 'EO.Web.GridItemStyleSet'. 'ItemHoverStyle' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. D:\Programming\APLwebApp\APLwebApp\frmLocatorStatus.aspx 120




eo_support
Posted: Tuesday, July 26, 2011 5:37:36 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This still seems to be a reference issue. It would appear that Visual Studio has some problem loading the DLL, or for whatever reason have loaded the wrong DLL. You might want to do a search on your machine for EO.Web.dll and make sure you clear out all the old ones (particular those in your ASP.NET temp directories). Also try to manually update the control in your toolbox (remove them and re-add all of them from the right location) and see if it helps.

Thanks!
DiscoverSoft
Posted: Tuesday, July 26, 2011 5:55:33 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2010
Posts: 69
Okay, thanks.

Yes it appears it was a reference issue. I had followed an example and not explicitly named the version in my page reference. Seems like some controls work fine w/ the first, generic reference, but this one required the version to be added. Can you explain the usage difference between the two reference lines below?

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

Vs:

<%@ Register assembly="EO.Web, Version=9.0.15.2, Culture=neutral, PublicKeyToken=e92353a6bf73fffc" namespace="EO.Web" tagprefix="eo" %>


Thanks
eo_support
Posted: Tuesday, July 26, 2011 6:16:23 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Generally you do not need to use the second version because it would give you trouble when you change to a newer version. However you have multiple EO.Web.dll registered in GAC, then you would need to clearly specify which one you would like to use by specifying the version number. The second version also make sure your project to be built with specifically that version so that it may be the preferred methods in a large development environment where you do not want any variable dependencies on whatever extra setup on a specific developer's machine.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.