Welcome Guest Search | Active Topics | Sign In | Register

'ListBox' is an ambiguous reference between 'System.Web.UI.WebControls.ListBox' and 'EO.Web.ListBox' Options
Michael Cleveland
Posted: Wednesday, July 20, 2011 8:59:53 AM
Rank: Member
Groups: Member

Joined: 3/4/2011
Posts: 12
I have just uninstalled 8.0 and installed 9.0, but I am using the VS 2010 ListBox and not the new EO ListBox. However, when I click "Build Web Site" I receive the following error:

'ListBox' is an ambiguous reference between 'System.Web.UI.WebControls.ListBox' and 'EO.Web.ListBox'

eo_support
Posted: Wednesday, July 20, 2011 9:06:25 AM
Rank: Administration
Groups: Administration

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

Thanks for posting in the forum. However this is a rather basic compiler error that you will need to work out yourself. We generally do not respond on compiler errors.

Thanks
Ben Switzer
Posted: Wednesday, July 20, 2011 3:07:29 PM
Rank: Advanced Member
Groups: Member

Joined: 5/30/2007
Posts: 30
You may still be referencing EO.Web on the page that you replaced the listbox. I.E you could have a "using EO.Web" in codebehind still that would cause an issue.
Michael Cleveland
Posted: Wednesday, July 20, 2011 3:37:45 PM
Rank: Member
Groups: Member

Joined: 3/4/2011
Posts: 12
So that I can use your controls and VS2010 controls that share the same name on the same page, I will need to prefix VS controls with 'System.Web.UI' or your's with 'EO.Web'. To avoid this in the future, shouldn't you have unique names such as eoListBox, eoComboBox, ...? Just a suggestion.


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.