<%# %> is databinding logic so you need to actually databind the control to make that work.
this.Page.DataBind() or this.chkEmailPassword.DataBind() forces the control to bind. If you don't call DataBind() nothing happens with binding expressions.
+++ Rick ---
Hi Rick,
I am trying to add variable text in various areas of an aspx page and cannot figure out why it is working on one and not the other.
I see other examples where you have it working using the same <%# syntax but am not sure why...
Can you tell me what I am doing wrong on the checkbox to get variable text message.
Thanks much,
Craig
Rick Strahl West Wind Technologies Where do you want to surf today? | Reader Version: 5.0 |
from Maui, Hawaii
