Select to view content in your preferred language

Dojo Dijit error

486
3
05-25-2012 07:16 AM
RoseZhou
Deactivated User
Hi,

I am using ArcGIS Javascript API ver. 2.8. I tried to create a drop-down menu, so I added following code:

<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.8" type="text/javascript"></script>
...
dojo.require("dijit.DropDownMenu");

But when I ran my app, I got following error:

"NetworkError: 404 Not Found - http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/DropDownMenu.xd.js"


What is going on here? Can anyone help me?

Thanks

Rose
0 Kudos
3 Replies
RoseZhou
Deactivated User
Hi,

I am using ArcGIS Javascript API ver. 2.8. I tried to create a drop-down menu, so I added following code:

<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.8" type="text/javascript"></script>
...
dojo.require("dijit.DropDownMenu");

But when I ran my app, I got following error:

"NetworkError: 404 Not Found - http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/dojo/dijit/DropDownMenu.xd.js"


What is going on here? Can anyone help me?

Thanks

Rose



I found a solution. Thx.
0 Kudos
derekswingley1
Deactivated User
Can you post what you did to fix your issue? Might be helpful to anyone who finds this thread in the future.
0 Kudos
JeffPace
MVP Alum
yes i looked at the api documentation and while they talk about dijit.dropdownmenu i could not find it in the api.  Curious how you solved the issue as well
0 Kudos