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 6845053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:27:10+00:00 2026-05-27T00:27:10+00:00

I am working on an ASP.Net website and have a GridView displaying some data,in

  • 0

I am working on an ASP.Net website and have a GridView displaying some data,in the OnRowDataBound event I am setting the border of the row for certain rows based on some criteria.

This all worked fine when I was testing my pages locally, however when I put these pages within our master page (this is part of a company intranet site) the row borders disappear in IE yet display fine in firefox.

Is there anything that could be causing this? So far there is no CSS style applied that I know of as I set the border inside the event handler like so:

 e.Row.BorderStyle = BorderStyle.Solid
 e.Row.BackColor = Color.FromName("#fed69c")
 e.Row.BorderColor = Color.FromName("Red")
 e.Row.BorderWidth = "2"

Update:

This is the CSS i grabbed from the developer tools in IE:

height: 12px; 
border-top-color: red; 
border-right-color: red; 
border-bottom-color: red; 
border-left-color: red; 
border-top-width: 2px; 
border-right-width: 2px; 
border-bottom-width: 2px; 
border-left-width: 2px;
border-top-style: solid; 
border-right-style: solid; 
border-bottom-style: solid; 
border-left-style: solid; 
background-color: rgb(253, 254, 156);

My Gridview:

<asp:GridView ID="gvTickets" 
                                runat="server" 
                                AutoGenerateColumns="False"
                                DataKeyNames="TicketID" 
                                AllowSorting="true" 
                                DataSourceID="dsGridview" 
                                GridLines="Horizontal" 
                                OnRowDataBound="gvTickets_RowDataBound"
                                EnableViewState="True" 
                                RowStyle-Height="12px" 
                                Width="100%" 
                                BackColor="White" 
                                Font-Size="10px">
  • 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-27T00:27:11+00:00Added an answer on May 27, 2026 at 12:27 am

    Debug using IE F12 tools to see what style is being applied to the border of the GridView. Possilby inherited from the master page. You can change CSS sttribute setting from the tool and viiew the results live. You might also try setting the BorderWidth property.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on ASP.Net 2.0 website and I have a strange problem. First
I have a ASP.NET website and say it has 2 pages. I am displaying
I'm working on asp.net website with Vb.net and I have a dropdownlist with autopostback
I am currently working on an ASP.NET MVC3 website. I have a simple authentication
I'm working on a asp.net website and I have created a user control where
So I have an ASP.NET MVC 3 website that allows people to advertise certain
I'm working on a ASP.NET website that on some requests will run a very
I have been working on a multilingual website which has been developed in ASP.net
I am working on an ASP.NET website with sql server 2008 R2. i need
I'm working on an ASP.NET website (MVC3 but not really important for my question)

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.