用Ajax的CascadingDropDown控件做了个2级无刷新级联系。如何获取从dropdownlist中已经得到的值? 

解决方案 »

  1.   

    控件本 身不就有个selectValue吗 CascadingDropDown 也有selectvalue
      

  2.   

      <asp:DropDownList ID="ddlCountry" runat="server"></asp:DropDownList>
            <ajaxToolkit:CascadingDropDown ID="ccdCountry" TargetControlID="ddlCountry" Category="Country"
                PromptText="请选择" LoadingText="加载中..." ServicePath="CityService.asmx" ServiceMethod="GetCountries"
                runat="server" />
    ddlCountry.SelectedItem.Text 
    StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(“”)