refrence Proxy.ashx from Javascript code

1895
0
05-23-2012 02:08 PM
akpagaakpaga
New Contributor
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
0 Kudos
0 Replies