This is a strange problem. I have a grid (code below) that contains a templated column for a drop-down control. Whenever I run the site via an ip address I get the error. However, when I access the site with a proper domain (eg, rep.ngkflocal.com), it functions fine.
For instance, when accessed via the following URL: http://72.73.307.275/Plan/Edit/1342
The following error occurs: Uncaught ReferenceError: CapitalExpenditureType is not defined
However, when accessed like this via my local IIS web app: http://reppublish.ngkflocal.com/Plan/Edit/1342
I do not get the error, adding the row works fine.
Both point to the same files. Any ideas?
For instance, when accessed via the following URL: http://72.73.307.275/Plan/Edit/1342
The following error occurs: Uncaught ReferenceError: CapitalExpenditureType is not defined
However, when accessed like this via my local IIS web app: http://reppublish.ngkflocal.com/Plan/Edit/1342
I do not get the error, adding the row works fine.
Both point to the same files. Any ideas?