So I have one main default.aspx file which includes (a default.aspx.cs which I've declared a public class variable) as well as references to an ascx file. The ascx file references a class (cs) file in which I want to access the variable I created earlier. I try to access it by going classname.variable and it gives me errors about the variable not being in the current namespace. any ideas ?