I have two identical dropDownLists (DropDownList1 and DropDownList2) on an aspx form. When I compile, I get a:
Error 1 The name 'DropDownList2' does not exist in the current context C:\websites\mdFrontEnd\Location.aspx.cs 48 17 C:\websites\mdFrontEnd\
The error occurs in my behind code (aspx.cs) file. However, I can clearly reference both DropDownLists in the aspx.cs because Intellisense recognizes them as existing. The Location.aspx and Location.aspx.cs do appear to inherit properly:
Location.aspx header:
<%@ Page Language="C#" AutoEventWireup="true" ...
Go to the complete details ...