Rajveer singh

Rajveer singh

  • 800
  • 1k
  • 251k

Button in multiline inside gridview

May 21 2015 5:52 AM
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="gridview"
             Width="900px" onrowdatabound="GridView1_RowDataBound">
        
        <Columns>
 
       <asp:TemplateField HeaderText="Title" ItemStyle-HorizontalAlign="left" ItemStyle-Width="30px"  >
       
       <ItemTemplate>
       <asp:Button ID="btn"  CssClass="button" ToolTip='<%# Bind("link_level3") %>' runat="server" OnClick="lbclick"  Text='<%# Bind("link_level3") %>' />
        </ItemTemplate>
           <ItemStyle HorizontalAlign="Left" />
        </asp:TemplateField>
              </Columns>
        </asp:GridView>
 I want use this button text in multiline if text is very long? how to solve this problem
 
Thanks 

Answers (1)