accessing a variables in html
-
I am using c# in the code behind. Here is what I am trying to do and have done. -I created a variable (code behind) that I use to determine which aspx frame should be displayed -In the HTML code I basically used the statement below to select the appropriate frame. "> Selected is the variable I set in the code behind. It is derived from a session variable set in another aspx page. So.....Why does this not work? I would have thought I would have easy access to variables from the code behind file. Thanks in advance
-
I am using c# in the code behind. Here is what I am trying to do and have done. -I created a variable (code behind) that I use to determine which aspx frame should be displayed -In the HTML code I basically used the statement below to select the appropriate frame. "> Selected is the variable I set in the code behind. It is derived from a session variable set in another aspx page. So.....Why does this not work? I would have thought I would have easy access to variables from the code behind file. Thanks in advance
Selected is the variable I set in the code behind. It is derived from a session variable set in another aspx page... I'm not sure but may be it has something with the scope of the session or page life cycle...The reason being selected is derived from session variable set in another page...Would the session for page containing the selected variable expire if the page containing the session variable is loaded? Not sure this is something you want to look for.. ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.