DataBinding

C

Chris

I am using databinding on a pair of cascading dropdowns. You select a team
and get the office they can work in. When I try to rebind the second office
dropdown I get the following error.

Databinding methods such as Eval(), XPath(), and Bind() can only be used in
the context of a databound control.

I have read that this is a limitation of databinding, which is a shame. I
can do the binding of dropdown data but choosing the actual selected item I
am a bit unsure the best way to do programatically. It seems awfully
longwinded to manually pull out the value and select it in the dropdown.
Hopes this makes sense. Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top