locked
How to get CascadingDropDown value in PageLoad? RRS feed

  • Question

  • User944339287 posted

    Hi guys<g class="gr_ gr_18 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation multiReplace" id="18" data-gr-id="18">..</g> <g class="gr_ gr_91 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" id="91" data-gr-id="91">i</g> wonder how do <g class="gr_ gr_92 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" id="92" data-gr-id="92">i</g> get SelectedValue of CascadingDropDown in PageLoad?

    it's returned empty in PageLoad when i try Me.ddl_country.SelectedValue or Me.cdd_country.SelectedValue

    HTML

    <asp:DropDownList ID="ddl_country" runat="server" CssClass="DropDownList"></asp:DropDownList>                                                               
    <cc1:CascadingDropDown ID="cdd_country" runat="server" category="ParentCat" loadingtext="loading..." promptvalue="Select a country" servicemethod="GetParentCategory"                                                                    servicepath="/webservices/area.asmx" targetcontrolid="ddl_country">
    </cc1:CascadingDropDown>


    Wednesday, February 27, 2019 9:03 AM

All replies