ASP.Net GridView:随机渲染错误?

发布于 2024-08-09 14:56:19 字数 482 浏览 1 评论 0原文

我在我的网站中使用了很多网格视图作为我自己的管理概述。

每个 GridView 都有一个普通边框(1px 纯黑色)。

但随机没有设置边框,这里有一个例子: http://s2.imgimg.de/ uploads/Untitledced993capng.png

第一个是外观,第二个是它应该是什么样子。每次我按 F5 按钮时,另一个边框就会消失,有时没有边框,有时所有边框都正确存在。

有什么想法吗?


我已经解决了:这是由于浏览器的变焦设置

I used much grid views for my own admin overview in my site.

Every GridView has a normal border (1px solid black).

But randomly the border is not set, here an example: http://s2.imgimg.de/uploads/Untitledced993capng.png

The first is the look, the second how it should be. Every time I hit the F5 button, another border disappers, sometimes there are no border, sometimes all borders are correctly there.

Any Ideas?


I've Solved it: It was due to the browser's zoom setting

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

岁月如刀 2024-08-16 14:56:19

哈哈哈,找到答案了:

我被坑了!
当我有带有边框的网格并放大时,每个页面加载的边框都是不同的隐藏!
放大得越多,消失的边界就越多。

某种有趣的...

Hahaha, found the anser:

I was zommed in!
When I have the grid with Borders, and zoom in, every pageload the borders are different hidden!
The more you zoom in, the more borders are away.

Some kind of funny...

分开我的手 2024-08-16 14:56:19

你调查过 html & 吗? CSS?它可能看起来像一些未关闭的标签,或者有​​时如果您关闭像这样的

标签,则页面显示不正确。

Did you investigate html & css ? It might look like some not closed tag or sometimes it happens that if you close tag like this <div /> then pages display incorrectly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文