variable in the whole aspx page?
hello all,
this must be pretty simple though i cannot find a way to do this.
basically, i want to define a variable that can then be used by the Subs and functions of the aspx page. not using a session variable, how can i do that?
for instance, i get the variable
VB Code:
Dim EditorHeight As Long
If Request.QueryString("type") = "full" Then
EditorHeight = 480
End If
and would like to use it on all subs. right now, i put this code in the Page_Load sub but when used in the other subs i get a 'variable not declared' error...
thank you,
wc.