asp.net - Pages are calling the wrong codebehind? -


i have project i'm working on in visual studio 2003 , sql server 2005 environment. lately i've been having trouble codebehind files aspx web pages. pages referring codebehind other pages.

recently, example, copied page 1 of projects use starting point (it form multiple pages), after renaming it, codebehind , other files followed suit. after modifying page needed, found out still referencing old codebehind (making references controls no longer there).

i checked aspx code, , reference correctly pointing new codebehind. i've tried building , re-building project several times, resetting iis, deleting temp files , modifying web config. no dice.

if copy page in visual studio , rename it, automatically change codebehind attribute in <%@ page declaration on .aspx markup.

but won't change name of class in codebehind file, or class inherits attribute on declaration points to.

firstly, change inherits new class name - should automatically change designer file use same class name.

then change class definition in code-behind file.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -