Recently in one of my web project I renamed an aspx file (Say oldname.aspx) to different one (newname.aspx). But after the renaming all the control references in my code triggers error
the name does not exist in the current context.
But I renamed the classes as well and I searched for there is any existence of that old name anywhere in the project. But it shows none.
But still why it triggers that error. I was not just renaming. I was refactoring.