My apologies if this has been answered, In the code behind of an aspx page engine.SetVariable("Host", this); engine.SetVariable("TextBox1", this.TextBox1); I can work with TextBox1 & Host in a script, but Host.TextBox1 does not work at all Any ideas? This is purely curiosity, I am not implementing it this way in my app.