Loading Layers and sub-layers on the Map using ComboBox

Discussion created by SHarihar-esristaff Employee on Oct 17, 2012
I am trying to create a Layer rendering using combobox with sublayers. As of now my MXD contains these as individual layers but on the application, I wish to display them as sublayers. Meaning, I have 2 main categories, Climate and Soil, and when the user selects Climate, a set of layers get populated in the other combo box (sublayers) and when the user selects a layer from this other combo box layers, that layer is displayed on the map.

I am bit confused as to where to start. I was looking at this example but I am using ArcServer 10.01 and not 10.1. Is it possible to replicate the same functionality for ArcServer 10.01?

Pls help me out.