Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Datagrid Wrap Text

Thread Tools

Datagrid Wrap Text

Posts: n/a
I can't get the bound column of my datagrid to wrap the
text. What am i doing in wrong. The datagrid is contained
in a cell of a bigger table.

<asp:datagrid id="dgChangeHistory" runat="server"
Width="1000px" CellPadding="3" AutoGenerateColumns="False"
EnableViewState="False" ItemStyle-Wrap="True" >
<AlternatingItemStyle BackColor="AntiqueWhite"
Wrap=True ></AlternatingItemStyle>
<ItemStyle Wrap=True HorizontalAlign="Center"
CssClass="elevenBlack" ></ItemStyle>
<HeaderStyle Wrap=True HorizontalAlign="Center"
CssClass="TableTitle" BackColor="#CCCCFF"></HeaderStyle>
<asp:BoundColumn DataField="comments"
ReadOnly="True" HeaderText="Screening Text Comments"
ItemStyle-Wrap="True" ItemStyle-Font-Bold="True">
<HeaderStyle Wrap="True"
<ItemStyle Wrap="True"
HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
To wrap or not to wrap? Aaron Fude Java 12 05-10-2008 06:33 PM
Wrap computer components in bubble wrap? Ickshka Computer Support 7 05-05-2006 05:54 PM
Making DataGrid Items not wrap text Dan ASP .Net 2 03-02-2004 06:47 PM
Text::Wrap::wrap difference Art Werschulz Perl Misc 1 09-25-2003 06:15 PM
Text::Wrap::wrap difference Art Werschulz Perl Misc 0 09-22-2003 02:36 PM