Asp.net, directly assigning properties from value?

Posted by Justin Alexander on Stack Overflow See other posts from Stack Overflow or by Justin Alexander
Published on 2009-12-02T12:26:28Z Indexed on 2010/03/19 17:01 UTC
Read the original article Hit count: 163

Filed under:

Is there a way to express

<% objControl.ObjProp=ObjVar; %>
<my:Control ID="objControl" runat="server" />

As something like this, in one line? And without passing ObjVar as a string?

<my:Control ID="objControl" runat="server" ObjProp=ObjVar />

© Stack Overflow or respective owner

Related posts about ASP.NET