We help IT Professionals succeed at work.

multiple scrols on one table on IE

samelamin
samelamin asked
on
Hey all i am using CoolGridview to create a table, however on IE the table creates its on Scrollbar so how can i disable that?

in a sense on IE i have my defined scrolbar and inside that Scroll bar there appears another scroll bar on the y and x axis
<div  id="divScroll"  style=" overflow-y:scroll; height: 200px; Width:1020px;"  onscroll="$get('ctl00_Main_hdnScrollTop').value = this.scrollTop;" >
   
             
          <cc1:CoolGridView ID="GridView1"  Width="1000px" HeaderStyle-Width="2px" RowStyle-Width="2px"  runat="server" AutoGenerateColumns="False" 
            CellPadding="4" >
            
            <RowStyle Width="2px"
              HorizontalAlign="Center" />
           
      
            <Columns>
            
                <asp:TemplateField HeaderText="CheckAll"  HeaderStyle-Width="60px" >
                    <HeaderTemplate>
                        <asp:CheckBox ID="chkSelectAll" ToolTip="Select job to print/change" Text="<br>Select" runat="server"  AutoPostBack="true" 
                            OnCheckedChanged="chkSelectAll_CheckedChanged" />
                           
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="check" runat="server" OnCheckedChanged="changed_click" AutoPostBack="true" />
                    </ItemTemplate>
                </asp:TemplateField>
                
                
                 
                 <asp:TemplateField HeaderText="retainAll" HeaderStyle-Width="60px">
                    <HeaderTemplate>
                    
                        <asp:CheckBox ID="retainAll" Text="<BR>Retain" ToolTip="Tick to retain a job in list after print/change" runat="server" AutoPostBack="true" 
                            OnCheckedChanged="retainSelectAll_CheckedChanged" />
                    </HeaderTemplate>
                    <ItemTemplate>
                
                        <asp:CheckBox ID="retain" runat="server" />
                    </ItemTemplate>
                    
                    
                </asp:TemplateField>
                
                
                <asp:BoundField DataField="User Name" HeaderImageUrl="/icons/name.JPG" HeaderStyle-Width="100px" HeaderText="Username" />

                <asp:BoundField DataField="Document Name" HeaderStyle-Width="100px" ItemStyle-CssClass="border2"  HeaderStyle-CssClass="border2"   />
                
                
                    <asp:BoundField DataField="Info" ItemStyle-CssClass="border" HeaderStyle-Width="100px"  HeaderStyle-CssClass="border" />
                
                  <asp:BoundField DataField="Pages" HeaderStyle-Width="60px" HeaderText="Pages" />
                  <asp:TemplateField HeaderText="Printer">
                    <ItemTemplate>
                        <asp:DropDownList ID="DropDownList1" runat="server">
                        </asp:DropDownList>
                    </ItemTemplate>
                </asp:TemplateField>
                
              
                <asp:BoundField DataField="Cost" HeaderText="Cost" HeaderStyle-Width="60px" />

             
              
                <asp:TemplateField HeaderText="ClientCode">
                    <ItemTemplate>
                        <asp:Label ID="ccddl" runat="server" Text="Label"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
        
             <asp:ImageField DataImageUrlField="Amend" runat="server" HeaderStyle-Width="60px"></asp:ImageField>
        
               <asp:BoundField DataField="Properties1" runat="server"  ControlStyle-CssClass="border2" ItemStyle-CssClass="border2" HeaderStyle-CssClass="border2" />
          
            
            <asp:ImageField DataImageUrlField="Properties2" runat="server" HeaderStyle-Width="30px"  ControlStyle-CssClass="border" ItemStyle-CssClass="border" HeaderStyle-CssClass="border" ></asp:ImageField>
            
           
            </Columns>

            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle   BackColor="#0092D0" Font-Bold="True" ForeColor="White" />
                   
   </cc1:CoolGridView>







</div>

Open in new window

Comment
Watch Question