Scrollbar Datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mansoorali81
    New Member
    • Aug 2007
    • 1

    #1

    Scrollbar Datagrid

    Hi,
    i'm new to the programming.
    will someone please tell me how to increase the size of width of the scrollbar in datagrid,
    i will be very helpfull.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Welcome to TSDN. Have you tried using css style?

    Comment

    • sun1programmer
      New Member
      • Aug 2007
      • 12

      #3
      FOR ASP.NET 1.1
      <div id="divTreeView " style="overflow-y: hidden; overflow: scroll; width: 750px" >
      <asp:GridView ID="dgResultSet " runat="server" CssClass="datag ridBorder" AllowPaging="Tr ue" AllowSorting="T rue" AutoGenerateCol umns="False">
      <columns>

      </columns>
      </asp:GridView >
      </div>

      FOR ASP.NET 2.O

      <asp:Panel ID="Panel1" runat="server" Direction="Left ToRight" Height="100px" HorizontalAlign ="Left" Width="200px" BorderStyle="So lid" CssClass="formP anel" ScrollBars="Aut o">

      <asp:GridView ID="dgResultSet " runat="server" CssClass="datag ridBorder" AllowPaging="Tr ue" AllowSorting="T rue" AutoGenerateCol umns="False">
      <columns>

      </columns>
      </asp:GridView >

      </asp:Panel >

      Comment

      Working...