On Wed, Dec 10, 2008 at 11:15 AM, stapes <[email protected]> wrote:
>
> Hi
>
> I am using Visual Studio 2005 to develop an application. In the
> application, I have several screens with a more or less identical
> layout. On one screen, a gridview keeps displaying in the wrong place
> - but only in IE. In a decent browser like Firefox, it works fine.
> When I go to view the .aspx page in Visual Studio 2005 in Design view,
> it shows strange squares which dissappear when I mouse over them and
> reappear when I go away. It is almost like there are unprintable
> characters hiding there. No amount of editing or rearranging the page
> seems to make the problem go away. Short of deleting the whole effing
> thing and starting again, is there anything I can do?
>
> Stapes

What version of .Net are you using?  MS .Net 1.1 REALLY, REALLY sucks for web
development from a standards complaint point-of-view.  .Net 2.0+ has made very
good progress there.  If you are using .Net 1.1, see if you can upgrade, because
.Net 1.1 will put out just really crappy HTML that does not even come close to
meeting any standards.

If you are using .Net 2.0+, either post a code example or post the finished HTML
from the .aspx page in question.  Also, what version of IE are you running that
you see the gridview in wrong the place?  Are you setting a DOCTYPE?
IE6 sucks and if you don't set a DOCTYPE it renders in the
"how I feel it should look, regardless of standards" mode.  IE 7 is better with
checking the DOCTYPE and using a more standards compliant rendering depending on
the DOCTYPE.

Viewing in VS 2005 should work for you.  Sounds like you have a hosed system.
VS uses IE as the rendering engine, so if the page looks bad in IE it
will look bad in VS.
Do you have a lot of IE extensions installed?  If the page looks good
in FF, look at the FF
Error Console under the Tools menu.  Do you see any errors or warnings?

I personally find I need to reinstall my dev system every 6 months or
so on WinXP.  Some
times it is longer if I am diligent with setting Restore Points,
though I am not always.  I just
made a good image of my dev workstation and I can restore to that in a
few minutes when
I need to.  I think it comes down to how much stuff you try to do on
your dev box.  I install
a lot of trial development software to evaluate and it seems to mess
up my XP dev box
every few months with all the cruft left behind.  If you are not
installing much on you dev
box, it should be working fine, as long as you have proper antivirus,
etc. installed.

Anywhoo, post your code or your finished HTML of the page in question
so we can look at it
and try to help you.

Best,

Jim

Reply via email to