A control source is an expression not a value, hence the quotes are required.
Please check the documentation for control source for more info.
wcdocs:_1mt037ec2.htm
+++ Rick ---
from Hood River, Oregon
Please check the documentation for control source for more info.
wcdocs:_1mt037ec2.htm
+++ Rick ---
I set ControlSource between quote and it runs now:
this.txtKeyField.ControlSource="this.Page.oBusiness.oData.Field1"
Thank you
Why don't you try it instead of asking a questino here? It's probably quicker than waiting for a response here...
Yes it works but it has to be done before a call to DataBind() is made.
+++ Rick ---
this.txtKeyField.ControlSource=this.Page.oBusiness.oData.Field1
Thank you very much