Click here to Skip to main content
14,971,553 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have an user control in that i am using cascading dropdown for states and citys..
At the time of data inserting it is perfectly working but at the time of data retrieval the states does not load......
cascadingdropdown code is
XML
State:
                       <asp:DropDownList ID="ddlCState" runat="server" CssClass="userentry">
                       </asp:DropDownList>
                       <cc1:CascadingDropDown ID="cdlCStates" TargetControlID="ddlCState" PromptText="Select State"
                           ServicePath="~/CasCadingDropDown.asmx" ServiceMethod="GetStates" runat="server"
                           Category="StateId" LoadingText="Loading..." /

>
Posted
Updated 5-Oct-15 22:56pm
v3
Comments
Member 12003400 6-Oct-15 4:51am
   
Please post your code for further details.

1 solution

check Creating Cascading DropDownLists in ASP.Net[^]
Update the question with relevant code samples if you still failed to implement it.
if you using CascadingDropDown control in the AJAX Control Toolkit. follow
Using CascadingDropDown with a Database (C#)[^]
   
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900