R
ruskie
I created a user control with two public properties and drop it to an aspx
page as the following
<uc1:myUserControl
id="myUserControl1"
runat="server"
MyProperty1="<%= this.MyVar1 %>"
MyProperty2="<%= this.MyVar2 %>" >
</uc1:myUserControl>
Why the "<%= this.MyVar1 %>" and "<%= this.MyVar2 %>" are not evaluated and
returned as raw string instead?
Thanks
page as the following
<uc1:myUserControl
id="myUserControl1"
runat="server"
MyProperty1="<%= this.MyVar1 %>"
MyProperty2="<%= this.MyVar2 %>" >
</uc1:myUserControl>
Why the "<%= this.MyVar1 %>" and "<%= this.MyVar2 %>" are not evaluated and
returned as raw string instead?
Thanks