I have constants in my cs file Constants.cs. In the asp.net mvc controllers I use the constants like this ViewData[Constants.Whatever] = …;
How can I use the constants in my aspx file? When I try to use it I get an error saying:
CS0103: The name ‘Constants’ does not exist in the current context
Add the namespace of class on the web.config so it can recognize it … probably