esri.config.defaults.io.proxyUrl = "proxy/proxy.ashx";
Solved! Go to Solution.
esri.config.defaults.io.alwaysUseProxy = true;
If the alwaysUseProxy property is false (the default), then the proxy page will be used automatically if the proxy property is set and the request exceeds 2000 characters.
I would think you would take an performance hit for that
and somewhere else I read that you shouldn't set that to true except when you are using the proxy for security reasons.
I need it because I'm using a geometryService and a routeTask and both routinely exceed the max # of characters.
I already tried adding that line BTW and it didn't make any difference.