c# - Make label multiline -
i know easy solution make label textbox multiline not solve problem since want render anchor tags inside text value. example:
<asp:label id='mylabel' runat="server" text=" label etc... go here <a href='destn.aspx'>here</a> update" />
this can't done using textbox since textbox not display anchor tag link instead display plain text
<asp:label id='mylabel' runat="server" style="word-wrap:break-word;" width="140px" text=" label etc... go here <a href='destn.aspx'>here</a> update" />
add width property , provide appropriate value whatever want , add 1 css style wrap word
Comments
Post a Comment