I will try css but I just dont know how to do it. if you want to take a look
below is my code:
<TABLE id="Table1" style="WIDTH: 700px; overflow: scroll" height="100%"
cellSpacing="1" cellPadding="1" width="700"
border="0">
<TR>
<TD style="HEIGHT: 4px"><uc1:header id="Header1"
runat="server"></uc1:header></TD>
</TR>
<TR>
<TD height="10">
<uc1:subheader id="Subheader1" runat="server"></uc1:subheader></TD>
</TR>
<TR style="BACKGROUND-COLOR: white; overflow: scroll">
<TD style="overflow: scroll" vAlign="top" align="left" width="700"
bgColor="#000000"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
<P>
<asp:HyperLink id="HyperLink1" runat="server"
NavigateUrl="logs.aspx" ForeColor="#FFFF80">Logs</asp:HyperLink></P>
<P><asp:dropdownlist id="sectionDDL" runat="server"
AutoPostBack="True">
<asp:ListItem Value="Sections"
Selected="True">Sections</asp:ListItem>
</asp:dropdownlist><asp:dropdownlist id="subsectionsDDL"
runat="server" AutoPostBack="True" Visible="False"></asp:dropdownlist></P>
</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
<asp:DataGrid id="DataGrid1" runat="server" Visible="False"
HorizontalAlign="Left" Width="700px"
AutoGenerateColumns="False" ItemStyle-Wrap="true"
ItemStyle-Width="140px">
<ItemStyle Font-Size="Smaller" Width="140px"
BackColor="#FFFFC0"></ItemStyle>
<HeaderStyle BorderStyle="Solid" BackColor="#C0C0FF"></HeaderStyle>
<Columns>
<asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>
<asp:ButtonColumn Text="Delete" ButtonType="PushButton"
CommandName="Delete"></asp:ButtonColumn>
<asp:BoundColumn DataField="id" ReadOnly="True"
HeaderText="ID"></asp:BoundColumn>
<asp:BoundColumn DataField="url" HeaderText="Url"
ItemStyle-Wrap="true" ItemStyle-Width="140px"></asp:BoundColumn>
<asp:BoundColumn DataField="text" HeaderText="Text"
ItemStyle-Wrap="true" ItemStyle-Width="140px"></asp:BoundColumn>
</Columns>
</asp:DataGrid>
<P align="center"> </P>
</SPAN>
</TD>
</TR>
</TABLE>
"Anders K. Jacobsen [DK]" <no**@at.all> wrote in message
news:er**************@TK2MSFTNGP15.phx.gbl...
thans, that's exactly my problem. I have seen log words with "-" been
splited automaticaly but with "." doesnt work. Can I hide the extra text
without using CSS? I dont mind hiding the extra text because there is an
Edit button that can be used to see the whole text.
Why wouldnt you use CSS? Target IE 3+? Anyway if you choose css look eg
here; http://www.quirksmode.org/css/overflow.html
If you dont want css you are on you own eg with javascript to pass the
innerHtml in the TD and eg. cut off all leters where innerHTML.legth > eg
20 letters. Dont know. Go for css if possible.
Anders