The solution, at least in this case, turned out to be having to place a new control on the Design screen rather than typing it in. I still have no idea what the difference is, or how the control on the UI and the control in the codebehind are connected, since there is no designer file; if I simply copy the modified .aspx and .aspx.cs files, and nothing else, to a different copy of the site, it works.