This is a migrated thread and some comments may be shown as answers.

Enable Cascading Drop-Downs When Loading Data

1 Answer 33 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 01 Jul 2014, 08:52 PM
Hello, I'm using the cascading drop-downs on a basic form (using bootstrap).  There are a total of 4 of them, and when someone is submitting a new form they work great. The problem I've run into is when I want to load the form with data from a database to edit.  Currently what happens is the first two drop-downs are enable, but the other two aren't.  They all have the correct values selected, but I just can't change them unless I drill down again.

Is there a way to enable a cascading drop-down list if  the page is being loaded with the values selected?  

I've tried to do it using things like:
     $("#DDLName").prop('enable', true); or  $("#DDLName").attr('enable', true); but it doesn't work.

Thanks in advance!

David

 

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 02 Jul 2014, 06:18 PM
Nevermind, I figured it out.  

Thanks!
Tags
DropDownList
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or