Posted 30 August 2022, 10:27 pm EST
I have a razor page in which I want to display certain text if the value of the ViewData[“IsActive”] is true. I’m not getting any text.
text 1
} else {text 2
}I know for sure that ViewData[“IsActive”] returns true.