The name 'xxxx' does not exist in the current context.
To fix this, delete the .designer file then right click on the aspx or ascx and select 'Convert to Web Application' this will rebuild the designer file and include all the necessary references to controls.