ASP.NET
A forum for technical discussions of ASP.NET
-
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control
Download the sample code
You might have wanted to use inside a databound templated server control (e.g. the FormView or the GridView) several cascading dropdownlists. The System.Web.UI.WebControls. … more
-
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control
You are most likely reading this article because you got one of the following errors while attempting to bind the values selected from cascading lists to the context data record of a templated server … more