I am pulling together a new webpage and would like to have a <div> display only if cookies are disabled. I have BrowerHawk detecting the cookie state and setting a variable to either “Enabled” or “Disabled” This is on my master page and detection is in the codebehind as well as establishing the variable string. In the site.master file I have my html layout but I have been unsuccessful in adding a C# conditional mixed with html (used to work in classic asp with VBscript. So I’m not sure how to implement. How do I ref variable created in codebehind from page source, should I use html or label control. A little help for a beginner would be appreciated.
DAD