When I wanted to relate two dropdown list , I got same errors ....Then I tried using using usercontrol for the related dropdownlist and added this user control to details view and binded the public properties of user control in html . Things work fine....
You can get detailed writeup in http://aspdotnetprojects.googlepages.com/home
bhatn
Member
222 Points
61 Posts
Re: Error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the contex...
Dec 10, 2006 01:14 PM|LINK
When I wanted to relate two dropdown list , I got same errors ....Then I tried using using usercontrol for the related dropdownlist and added this user control to details view and binded the public properties of user control in html . Things work fine....
You can get detailed writeup in http://aspdotnetprojects.googlepages.com/home
Feedback appreciated
Bhat Np
MCAD
bhatnp@gmail.com/bhatnp@yahoo.com