runat =服务器mistique [英] runat=server mistique

查看:63
本文介绍了runat =服务器mistique的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪里有关于为什么一切都是runat = server的好文章/描述。

我似乎无法理解为什么所有标签(甚至是表格​​标签)都是runat服务器

in dotnet。


谢谢

Where is there a good article/description on why everything is runat=server.
I just can''t seem to grasp why ALL tags (even table tags) are runat server
in dotnet.

Thank You

推荐答案

这个属性只是告诉ASP.NET当页面被调用时,创建这个控制服务器端,允许以编程方式访问该控件。


然后控件被提供给客户端你可能已经完成以编程方式

服务器端(如颜色或其他)。


Patrice


-


周杰伦 < JA ********** @ hotmail.com> aécritdansle message de

news:gY7Qb.35055
This attribute just tells ASP.NET to create this control server side when
the page is called, allowing to access this control programmatically.

The control is then rendered client side you may have done programmatically
server side (such as colors or whatever else).

Patrice

--

"Jay" <ja**********@hotmail.com> a écrit dans le message de
news:gY7Qb.35055


zP6.30845@okepread02 ...
zP6.30845@okepread02...
哪里有关于为什么一切都是
runat = server的好文章/描述。我似乎无法理解为什么所有标签(甚至是表格​​标签)都是在dotnet中运行服务器。

谢谢
Where is there a good article/description on why everything is runat=server. I just can''t seem to grasp why ALL tags (even table tags) are runat server
in dotnet.

Thank You






嘿周杰伦,


我的猜测也是他们想早点训练我们一些

有希望/计划的日子,当有一个选项可以处理一些ASP

客户端(或其他一些尚未梦想的地方)。如果没有,似乎

多余的必须明确表明控件已被处理

服务器端,当它们已经按照定义是服务器端时。


- 约翰


" Jay" < JA ********** @ hotmail.com>在消息中写道

news:gY7Qb.35055
Hey Jay,

My guess is also that they''re trying to train us early for some
hopeful/planned day when there is an option where some ASP may be handled
client-side (or some other place not yet dreamed). If not, it seems
redundant to have to explicitly indicate that controls are handled
server-side when they are already by definition are server-side.

- John

"Jay" <ja**********@hotmail.com> wrote in message
news:gY7Qb.35055


这篇关于runat =服务器mistique的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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