@if (TempData["fnOutput"] == true) {<span id="fnoutput"></span> }
I want to hide / show HTML tags based on the bool value in TempData. Similarly, I tried with ViewBag and it doesn't return a result. How can I hide / show HTML tags without using Javascript?