akpaga

refrence Proxy.ashx from Javascript code

Discussion created by akpaga on May 23, 2012
Hi friends,

I am trying to use of the online samples by ESRI and they have the  base map as follows

var tiledLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");




I am trying to use proxy.ashx page instead..How shouls I code the above line...Please guide me...The ESRI asks to use it as follows..
esri.config.defaults.io.proxyUrl = "proxy.ashx";
 

But how I should i use it for the tiled layer code...thank you

Outcomes