I dont know exactly what you are doing in the codebehind class. Do you have "public" for the class. Try converting "codebehind=" to "Src=" and see if it might work for the added files.