can you elaborate? You want to move the comments to another row in the gridview? why not limit the amount of comments that get displayed, and open a new window to view the full comment, and or edit it?
On Wed, Mar 31, 2010 at 8:55 PM, aric <[email protected]> wrote: > I have a field holds Comments so it would be too long if I put it on > the same row as all other columns. So I want to move the Comments to a > new row below. > > How can I do that? > > My Gridview Columns > > <Columns> > > <asp:TemplateField> > <HeaderTemplate> > <input id="chkAllItems" type="checkbox" > onclick="CheckAllDataGridCheckBoxes('chk');this.checked=! > this.checked" /> > </HeaderTemplate> > <ItemTemplate> > <asp:CheckBox ID="chk" runat="server" Enabled='<%# > DataBinder.Eval(Container.DataItem,"Status")=1 %>' /> > </ItemTemplate> > </asp:TemplateField> > > <asp:TemplateField> > <HeaderTemplate> > <input id="chkAllItems2" type="checkbox" > onclick="CheckAllDataGridCheckBoxes('chk');this.checked=! > this.checked" /> > </HeaderTemplate> > <ItemTemplate> > <asp:CheckBox ID="chk2" runat="server" Enabled='<%# > DataBinder.Eval(Container.DataItem,"Status")<>1 %>' /> > </ItemTemplate> > </asp:TemplateField> > > <asp:BoundField DataField="Name" HeaderText="Intern" /> > <asp:BoundField DataField="Faculty" HeaderText="Faculty" / > > > <asp:BoundField DataField="RequestOn" HeaderText="Request Date" > HeaderStyle-HorizontalAlign="Center" ItemStyle- > HorizontalAlign="Center" /> > <asp:BoundField DataField="Hours" HeaderText="Hours" HeaderStyle- > HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" /> > <asp:BoundField DataField="FacultyComments" HeaderText="Faculty > Comments" HeaderStyle-HorizontalAlign="Center" ItemStyle- > HorizontalAlign="Center" ItemStyle-Width="300px" /> > <asp:BoundField DataField="Status" HeaderText="Status" HeaderStyle- > HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" /> > > </Columns> > > > > -- > To unsubscribe, reply using "remove me" as the subject. > -- Keidrick Pettaway http://kpettaway.com
