By Hussein AlSayegh, GIS Application Developer, Manama, Bahrain
Code Summary
Using ArcGIS server, we have developed an entire system using AJAX technology. Since ArcGIS server web contents refershes the whole page whenever any action is taken. We have developed from scratch all tools (zoomin, zoom out, identify and other functions using simple HTML /Javascripts controls only)
The most difficult part was the creating of the TOC using Ajax.
This project contains a sample code of how to generate the table of content with the symbols in HTML format
To run the project you need to set impersonation in the Web.config
hhhh = hostname
xxxx = username
pppp = password
example
in the QueryAjax.aspx
you have to set the following variables
———— Here you put your parameters to create the map —————
Private Const m_sServerName As String = “master”
Private Const m_sServerObject As String = “allds”
Private Const m_sDataFrame As String = “layers”

April 8, 2007 at 9:15 pm
Congratulation Eng Hussein AlSayegh for ur prize from Egyptian student who loves Esri
I wish U continue to be success forever
July 8, 2007 at 12:45 am
Thank you dear Mohammed,
Currently I am enhancing the code so that it will become more flexiable, easier to use andcompatiable with VB.NET 2005
I hope it will be of use to ArcGIS server developers.
September 25, 2007 at 6:07 am
Good job Abu Ali
February 22, 2008 at 8:41 pm
Congratulations! Hussain on winning 1 st prize
Keep moving up
Best wishes