Set  *ItemStyle-Wrap* property to *True*.

this will resolve your problem.

-Harika

On Fri, Jan 23, 2009 at 3:43 AM, Brock <[email protected]> wrote:

>
> I have a gridview control that is working fine except I'd like for one
> of the textboxes that appear on an edit enlarge to accomodate at least
> 5 rows of characters. Right now all that displays is enough size for
> seeing about a 25px x 150px. I can mouse across and see all my text I
> want to edit but I would rather have larger windows available for the
> row being edited. Any ideas?
>
> <asp:GridView ID="GridView1" runat="server"
> AutoGenerateColumns="False" DataKeyNames="id"
> OnRowEditing="GridView1_RowEditing"
> OnRowCanceling="GridView1_RowCanceling"
> OnRowUpdating="GridView1_RowUpdating" RowStyle-Width="20"
> CellPadding="5" CellSpacing="2"
> Width="766px"
> ForeColor="Black" GridLines="None" BorderStyle="Outset" Font-
> Bold="True"
> HorizontalAlign="Center" RowHeaderColumn="id" Font-Size="X-Small">
>
> <RowStyle Width="20px" BackColor="#CCFFCC" ForeColor="#333333" Font-
> Bold="True"></RowStyle>
> <EmptyDataRowStyle Font-Bold="True" />
>
> <Columns>
> <asp:BoundField DataField="id" />
> <asp:BoundField DataField="subject" />
> <asp:BoundField DataField="year" />
> <asp:CommandField ShowEditButton="True" />
> </Columns>
>
> <FooterStyle BackColor="#CCFF99" Font-Bold="True" ForeColor="White" />
> <PagerStyle BackColor="#FFCC66" ForeColor="#333333"
> HorizontalAlign="Center" />
> <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
> ForeColor="Navy" />
> <HeaderStyle BackColor="#0033CC" Font-Bold="True" ForeColor="White"
> BorderStyle="None" />
> <EditRowStyle BackColor="#FFCC99" Font-Bold="True" />
> <AlternatingRowStyle BackColor="White" />
> </asp:GridView>




-- 
Thanks & Regards
Harika
http://harikaworks.blogspot.com

Reply via email to