Posted on: 5/22/2013 2:49:52 AM | Views : 213

Hello. I want to display some long texts in DataList. I created ItemTemplate with table and there is a little problem. How can I make textbox showing its content without any scrollbar and with static width (e.g. 500px)? I have this:
<ItemTemplate> <table> <tr> <td><asp:Label ID="title" Text='<%# Eval("title") %>' runat="server" Font-Size="15" ForeColor="Yellow" Width="500"></asp:Label></td> </tr> <tr> <td><asp:TextBox ID="content" Text='<%# Eval("content") %>' style="resize:none;" runat="server" Width="500" ReadOnly="True" TextMode="MultiLine" BorderStyle="None" BorderWidth="0" BackColor="Transparent" ForeColor= ...

Go to the complete details ...