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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:33:48+00:00 2026-05-27T19:33:48+00:00

I have created an MVC 3 view, just by adding a controller and scaffold

  • 0

I have created an MVC 3 view, just by adding a controller and scaffold it by usage of entity framework.

See below view:

<table>
    <tr>
        <th>
            MetaType
        </th>
        <th>
            Value
        </th>
        <th>
            Page
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.MetaType)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Value)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Page.Title)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
    </tr>
}

</table>

When I open the view on my dev machine than the html produced is just as expected:

<table>
    <tr>
        <th>
            MetaType
        </th>
        <th>
            Value
        </th>
        <th>
            Page
        </th>
        <th></th>
    </tr>

    <tr>
        <td>
            Keywords
        </td>
        <td>
            bla, bla bla,
        </td>
        <td>
            Home
        </td>
        <td>
            <a href="/Admin/metainformation/Edit/1">Edit</a> |
            <a href="/Admin/metainformation/Details/1">Details</a> |
            <a href="/Admin/metainformation/Delete/1">Delete</a>
        </td>
    </tr>

On our hosting environment it’s rendered with on almost every row an extra whiteline.

<table>

<tr>

<th>MetaType</th>

<th>Value</th>

<th>Page</th>

<th></th>

</tr>

<tr>

<td>Keywords</td>

<td>values, values, values.</td>

<td>Home</td>

<td><a href="/Admin/metaInformation/Edit/1">Edit</a> | <a href="/Admin/metaInformation/Delete/1">Delete</a></td>

</tr>

Anyone has an idea why there is a difference, and how to resolve this extra whitespace?

UPDATE
It seems like only this page is having this issue. Other pages just have a normal html layout as expected. I also have checked the data from the database, but can’t find anything unusual or different than the other pages.

I have also tried to regenerate the file and upload it again, but also no luck. I’m a bit out of options on this issue.

  • 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-27T19:33:49+00:00Added an answer on May 27, 2026 at 7:33 pm

    After a doing a republish of my application the issue has dissapeared. Haven’t found what’s causing it.

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

Sidebar

Related Questions

I have just started playing with the ASP.Net MVC framework, and today I created
I'm pretty new to MVC 2 using the Entity Framework. I have two tables
(just learning MVC) I have created a model class: public class Employee { public
I have an MVC 3 application which uses asp.net authentication. I have just created
I have created firstly ASP.NET MVC 2 . and write more functionality. After I
I have created the following project structure for my new asp.net mvc project any
I have created a new ActionFilter for an ASP.NET MVC application that I'm creating.
I have created an multi thread application on IIS (ASP.NET MVC), When the threading
I'm using MVC 1.0 and have created a RequireSSLAttribute (like the one in ASP.NET
I am using ASP MVC 2 and Nhibernate. I have created an HTTP Module

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.