Hi, I am trying to add a eventhandler to a dropdown, getting this error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0122: 'System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(System.EventArgs)' is inaccessible due to its protection level
Line 66: dropProject.ID = "DropDown_Project";
Line 67: dropProject.AutoPostBack = true;
Line 68: dropProject.OnSelectedIndexChanged += new EventHandler(this.dropProject_Click);