Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3443218
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:45:51+00:00 2026-05-18T08:45:51+00:00

OK, so this is bugging me. I have a gridview in ASP.net which I’ve

  • 0

OK, so this is bugging me. I have a gridview in ASP.net which I’ve enabled the footer on:

    <asp:GridView ID="Results_GridView" runat="server" AutoGenerateColumns="False" CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt" ShowFooter="True" GridLines="None">

Then I’ve set the footer CSS style:

<FooterStyle CssClass="footer" />

That all appears fine, the images are displayed etc, although I cant get rid of the borders from the columns above!

.mGrid { width: 100%; background-color: #fff; margin: 5px 0 10px 0; border: solid 1px #525252; border-collapse:collapse; }
.mGrid td { padding: 2px; border: solid 1px #c1c1c1; color: #717171; }
.mGrid th { padding: 4px 2px; color: #fff; background: #424242 url(grd_head.png) repeat-x top; border-left: solid 1px #525252; font-size: 0.9em; }
.mGrid .alt { background: #fcfcfc url(grd_alt.png) repeat-x top;}
.mGrid .footer {
height: 15px; width: 100%; background: #BCC51A url(grd_footer.png) repeat-x top; border-   spacing: 0; border-width: 0; border: none; border-left:none; border-right:none; border-style:none;
}

And they just wont go away 🙁 I’ve tried changing the borders in visual studio too, no luck.

Heres my whole ASPX file for reference

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="DiscTypeSelector.aspx.vb"     Inherits="DiskSelector" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ import Namespace="System.Data" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Disc Burst Selector</title>
<link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<body>

<form id="form1" runat="server">
<div>
    <asp:Panel ID="Panel1" runat="server" Width="400px" BorderStyle="Solid" BorderWidth="1px" HorizontalAlign="Justify">
        <asp:Label ID="Label1" runat="server" Text="Burst Pressure " Width="122px"> </asp:Label>
        <asp:TextBox ID="pressure_input" runat="server" Width="150px">0</asp:TextBox><br />
        <br />
        <asp:Label ID="lbltemp" runat="server" Text="Temperature" Width="122px">    </asp:Label>
        <asp:TextBox ID="temp_input" runat="server" Width="150px">0</asp:TextBox><br />
        <br />
        <asp:Label ID="lblBore" runat="server" Text="Nominal Bore (mm)" Width="122px">  </asp:Label>
        <asp:DropDownList ID="dropBore" runat="server" Width="69px"   AutoPostBack="False">
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>40</asp:ListItem>
            <asp:ListItem>50</asp:ListItem>
            <asp:ListItem>65</asp:ListItem>
            <asp:ListItem>80</asp:ListItem>
            <asp:ListItem>100</asp:ListItem>
            <asp:ListItem>150</asp:ListItem>
            <asp:ListItem>200</asp:ListItem>
            <asp:ListItem>250</asp:ListItem>
            <asp:ListItem>300</asp:ListItem>
            <asp:ListItem>350</asp:ListItem>
            <asp:ListItem>400</asp:ListItem>
            <asp:ListItem>450</asp:ListItem>
            <asp:ListItem>500</asp:ListItem>
            <asp:ListItem>600</asp:ListItem>
            <asp:ListItem>700</asp:ListItem>
            <asp:ListItem>800</asp:ListItem>
        </asp:DropDownList><br />
        <br />
        <asp:Label ID="lblFrag" runat="server" Text="Fragmentation Issue"></asp:Label>
        <asp:RadioButtonList ID="radioFrag" runat="server" RepeatDirection="Horizontal"
            RepeatLayout="Flow" Width="94px">
            <asp:ListItem Selected="True">Yes</asp:ListItem>
            <asp:ListItem>No</asp:ListItem>
        </asp:RadioButtonList><br />
        <br />
        <asp:Label ID="lblMounting" runat="server" Text="Mounting" Width="111px"> </asp:Label>
        <asp:DropDownList ID="dropMounting" runat="server" Width="130px">
            <asp:ListItem>PN6</asp:ListItem>
            <asp:ListItem>PN10</asp:ListItem>
            <asp:ListItem>PN16</asp:ListItem>
            <asp:ListItem>PN20</asp:ListItem>
            <asp:ListItem>PN25</asp:ListItem>
            <asp:ListItem>PN40</asp:ListItem>
            <asp:ListItem>ANSI 150</asp:ListItem>
            <asp:ListItem>ANSI 300</asp:ListItem>
            <asp:ListItem>ANSI 600</asp:ListItem>
            <asp:ListItem>Other</asp:ListItem>
        </asp:DropDownList><br />
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:Button ID="btnSubmit" runat="server" Height="40px" Text="Update results" Width="140px" UseSubmitBehavior="False" CssClass="updateButtonStyle"  /><br />
        <br />
        <br />
    </asp:Panel>
    <br />
    <br />

      <asp:GridView ID="Results_GridView" runat="server" AutoGenerateColumns="False"  CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt"  ShowFooter="True" GridLines="None">
        <Columns>
            <asp:BoundField DataField="Disc_Type_Name" HeaderText="Disc Type"  SortExpression="Disc_Type_Name" />
            <asp:BoundField DataField="Disc_Material_Name" HeaderText="Disc Material"  SortExpression="Disc_Material_Name" />
            <asp:BoundField DataField="Disc_Forward_Acting" HeaderText="Forward/Reverse" SortExpression="Disc_Forward_Acting" />
            <asp:BoundField DataField="Disc_Vacuum" HeaderText="Vacuum Service" SortExpression="Disc_Vacuum" />
            <asp:BoundField DataField="Disc_Lgv" HeaderText="Liquid, Gas and Vapour Compatability"
                SortExpression="Disc_Lgv" />
            <asp:TemplateField HeaderText="MAX Working Pressure">
            <ItemTemplate> 
  <asp:Label ID="lblMaxPressure" Runat="Server"  />
</ItemTemplate>

            </asp:TemplateField>
            <asp:TemplateField HeaderText="Flange Rating"></asp:TemplateField>
        </Columns>
        <AlternatingRowStyle CssClass="alt" />
          <FooterStyle CssClass="footer" />
          <PagerStyle CssClass="pgr" />
    </asp:GridView>


</div>
</form>

And theres the little buggers that wont go away!

https://i.stack.imgur.com/2yN41.png


Any help extremely appreciated!!! (been through pages and pages of similar threads)

Cheers
tutts 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:45:52+00:00Added an answer on May 18, 2026 at 8:45 am

    solved it. the footer uses the same td th, which need to be defined in the CSS as follows.

    .footer { height: 15px; width: 100%; background: #BCC51A url(grd_footer.png) repeat-x top; } 
    .footer td{border: none} 
    .footer th{border: none} 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue that's been bugging me this morning. I'm building an ASP.NET
Hay all, this is really bugging me. I have downloaded phpimage from http://sourceforge.net/tracker/index.php?func=detail&aid=2844769&group_id=103281&atid=738747 I've
This is really bugging me. I'm using a GridView and want to format it
I don't have my Effective C++ with me and this is bugging me so
This is really bugging me, but I have a component where a Button is
This has been bugging me for a while and have yet to find an
Ok, this is bugging me, and I just can't figure out what is wrong...
This one has been bugging me for a while now. Is there a way
This is a question that's been bugging me for some time now: In photoshop/GIMP,
I know this may be a noob question, but it's bugging the heck out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.