Last post Feb 27, 2019 12:22 PM by mgebhard
Member
103 Points
794 Posts
Feb 27, 2019 09:03 AM|kengkit|LINK
Hi guys.. i wonder how do i 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>
All-Star
53091 Points
23659 Posts
Feb 27, 2019 12:22 PM|mgebhard|LINK
You have not provided enough code.
This best we can do for you is provide blogs and tutorials that explain how to implement the CascadingDropDown. Please set aside time to learn how to use the CascadingDropDown control.
https://blogs.msdn.microsoft.com/spike/2013/04/10/how-to-create-and-use-cascadingdropdown-from-the-ajaxtoolkit/
http://www.ajaxcontroltoolkit.net/CascadingDropDown/CascadingDropDown.aspx
Member
103 Points
794 Posts
How to get CascadingDropDown value in PageLoad?
Feb 27, 2019 09:03 AM|kengkit|LINK
Hi guys.. i wonder how do i 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
All-Star
53091 Points
23659 Posts
Re: How to get CascadingDropDown value in PageLoad?
Feb 27, 2019 12:22 PM|mgebhard|LINK
You have not provided enough code.
This best we can do for you is provide blogs and tutorials that explain how to implement the CascadingDropDown. Please set aside time to learn how to use the CascadingDropDown control.
https://blogs.msdn.microsoft.com/spike/2013/04/10/how-to-create-and-use-cascadingdropdown-from-the-ajaxtoolkit/
http://www.ajaxcontroltoolkit.net/CascadingDropDown/CascadingDropDown.aspx