I’m trying to separate my presentation and logic as much as I can, but there’s one problem.
How can i set the text-property to a dynamic value from my design file? I want to do like this:
<asp:Textbox id='txtUrl' runat='server' Text='<%= user.URL %>' />
But this will fail. Am i forced to do this from code behind?
It’s all about the #. but it won’t get set till txtUrl.DataBind() or something higher in the object heirarchy (like the Page) calls DataBind().