asp.net控件是垃圾 [英] asp.net controls are trash

查看:89
本文介绍了asp.net控件是垃圾的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


如果你想用asp.net建立一个网站,算了!!!!!

asp-controls显示错误,如果用

非微软浏览器查看 - >大废话!!!!

没有人会帮你解决这个问题

< b> microsoft只想卖她的产品 - 愚蠢的赚钱< / b> ;


如果我之前知道这一点,我从来没有花一分钟学习asp.net !!!!


最好的问候

hello,

if you want to build a website using asp.net, forget it!!!!!
asp-controls are displaying wrong, if it viewed with a
non-microsoft-browser--> big bullshit!!!!
no one will help you to fix this problem
<b>microsoft only want to sell her products-- silly money making</b>

if i know this before, i never have spend one minute to learn asp.net !!!!

best regards

推荐答案

不确定你在谈论不同浏览器的行为是什么?b $ b完全可配置。看一下我对帖子的回答(昨天):


"

默认情况下,Mozilla并不是浏览器(ASP.NET适用于所有的浏览器,但它们是如何配置为它们渲染的,是非常不同的东西)。为了获得更好的浏览器检测功能,您需要添加如下内容:

web.config(在< system.web>标签内)。


******

< browserCaps>


<! - NETSCAPE 6 ja 7 // - - >


< case match =" ^ Mozilla / 5 \\\ \([^]] * \)

( Gecko / [ - \d] +)?Netscape [6 | 7] /(?''version''(?''major''\\\ +)(?''minor''\\\ + +) (?''lett

ers''\ w *))。*">


tagwriter = System.Web.UI.HtmlTextWriter


浏览器= Netscape


version =
Not sure what you are talking about as behavior with different browsers is
completely configurable. Take a look at my answer to a post (yesterday):

"
Mozilla isn''t uplevel browser by default (ASP.NET works for all browsers but
how it is configured to render for them, is very different thing). To get
browser detections work bit better, you need to add something as follows to
web.config (inside <system.web> tags).

******
<browserCaps>

<!--NETSCAPE 6 ja 7 //-->

<case match="^Mozilla/5\.0 \([^)]*\)
(Gecko/[-\d]+ )?Netscape[6|7]/(?''version''(?''major''\d+)(?''minor''\.\d+)(?''lett
ers''\w*)).*">

tagwriter=System.Web.UI.HtmlTextWriter

browser=Netscape

version=


{version}


majorversion =
{version}

majorversion=


{major}


minorversion =
{major}

minorversion=


这篇关于asp.net控件是垃圾的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆