It doesn't matter what the page is named, you simply need the class type. You'd get that from the codebehind, right at the top, at the class declaration.

But yes, you're getting yourself into an unnecessarily complicated situation; think about the purpose of this textbox, whether its value needs to be used throughout the app, and if it does, how you should be passing it around.