Sorry I cannot post the tables required for this. The cascading dropdownlist isnt working well because it is in a detailsview and the ddls are in seperate fields.
Thank you for all your help though.
User Profile
Collapse
-
Sorry, Actually it worked for a few times but now it is immediatly throwing this error
...Code:Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception
Leave a comment:
-
Thank you!
That solution did partially work, but the only problem with it is i have to select the first DropDownList1 value twice for it to stay loaded, autopostback still clears all fields the first time, but the dropdownlists seem to be responding properly other than that.Leave a comment:
-
Yes, DropDownList_1 needs to change the values in list 2 ... but some of the values of DropDownList_1 need to be the exact value of DropDownList_2 if there is no other values that correspond to DropDownList_1 in DropDownList_2.
For example, Sick Leave will be in DropDownList_1 and it will have 6 different options in DropDownList_2. But Personal Holiday in DropDownList_1 will only have one option in DropDownList_2 which will be itself,...Leave a comment:
-
DropDownList Autopostback clears fields, reverts to default
Hi,
I have two drop down lists inside of two different fields in a detailsview, the first one determines the values of the second one.
When i select a value from the first ddl autopostback erases all data already in the detailsview and reverts the first dropdownlist back to the first selection.
Also when i select from the list (change the ddl selection more than once) it will throw a :
Databinding...
No activity results to display
Show More
Leave a comment: