Click here to Skip to main content
11,436,156 members (62,879 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET XML
hey !
i have a project that has 4 dropdownlist !
first dropdownlist defines mainland !
well i want when user choose his/her mainland, the countries of the choosen mainland show on second dropdown list and then show states of choosen country in third dropdownlist also show cities in last dropdownlist !
i know must use ajax CascadingDropDown !
i saved the mainlands and countries ... in a xmlfile like below:
<?xml version="1.0" encoding="utf-8" ?>
  <mainland Name="Asia">
    <country Namec="Iran">
      <states Names="Tehran">
        <city Nameci="Tehran"/>
  <mainland Name="Europe">
    <country Namec="Armenia">
      <states Names="Yerevan">
        <city Nameci="Yerevan"/>
  <mainland Name="North America">
    <country Namec="USA">
      <states Names="California">
        <city Nameci="Los Angeles"/>
  <mainland Name="South America">
    <country Namec="Brazil">
      <states Names="Brazilia">
        <city Nameci="Brazilia"/>
my problem is what should enter on .asmx.cs file (web service file) to achieve my wish output ?

please help ! tnx all
Posted 25-Jul-12 15:23pm
source.compiler at 25-Jul-12 20:37pm
tell us what is your reason that you vote this question 1?
Wes Aday at 25-Jul-12 21:38pm
"i know must use ajax CascadingDropDown"... okay so you know what you need to do what is it that you are having trouble with?
source.compiler at 26-Jul-12 13:38pm
i said
"my problem is what should enter on .asmx.cs file (web service file) to achieve my wish output ?"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 25 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100