i got 1 gridview which has hyperlink in one column, wen the user clicks the link he will be directed to another page where the details of particular row will be displayed using individual labels. In those labels one of the label must be multilined for me
coz the text will be too long...
Please help me how to get that .
aspx page of label
nt useful... any othr solution ?
This problem could be because of absolute sizing or positioning of the label. don't specify the size of label and don't wrap it in absolutely sized container like panel and it will work fine.
i got the solution... by adding style="word-wrap:break-word;" to label and removing the height property of label can achieve tht
<asp:Label ID="LblDescription" runat="server"
Font-Bold="True" Font-Names="Verdana"
Font-Size="X-Small" ForeColor="#0061C1" Height="16px"
Width="97px" BorderColor="#0061C1"
BorderWidth="1px" style="word-wrap:break-word;" BackColor="White"></asp:Label>
沒有留言:
張貼留言