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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -