Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Datagrid Wrap Text

 
 
Brian
Guest
Posts: n/a
 
      12-10-2003
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.

<td>
<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>
<Columns>
<asp:BoundColumn DataField="comments"
ReadOnly="True" HeaderText="Screening Text Comments"
ItemStyle-Wrap="True" ItemStyle-Font-Bold="True">
<HeaderStyle Wrap="True"
Width="575px"></HeaderStyle>
<ItemStyle Wrap="True"
HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
</asp:BoundColumn>
</Columns>
</asp:datagrid>
</td>
 
Reply With Quote
 
 
 
Reply

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



Advertisments