Posted on: 5/16/2011 1:53:28 AM | Views : 306

Hi there,
 
I have two databound DropDownList controls DDLA and DDLB, When user make selection in DDLA ,DDLB shows the corresponding values and it works fine. My problem starts after I add the selectedValue property to the DDL's, from some reason after I add the selectedValue property to the DDL's I am getting the following error -
 
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.


Please help,
...

Go to the complete details ...