ASP.NET 4 [英] ASP.NET 4

查看:86
本文介绍了ASP.NET 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

唯一ID,客户端ID,ASP .NET中控件的ID之间有什么区别?

what is the difference between unique id, client id, id of a control in asp .net?

推荐答案

没有可识别为唯一ID"的属性或客户ID"(更多有关客户ID的信息).所有文档ID都必须是唯一的,否则您将有很多时间试图使页面进行良好的编译/运行.

客户端ID与新的ID生成功能一起起作用,这些功能允许使用更可预测的,对开发人员更友好的控件/表单元素名称,并表示为客户端ID模式". Scott Guthrie在 ^ ].

如果您要指的是其他内容(或链接),请发帖,我会尽力提供帮助.

干杯.
There are no attributes recognized as "unique id" or "client id" (more on client id in a second). All document IDs need to be unique or you''ll have a helluva time trying to get the page to compile/run nicely.

Client ID comes into play with the new ID generation features that allow for more predictable, developer-friendly control/form element names, and is expressed as "client id mode". Scott Guthrie has this great post featuring this on his blog[^].

If there''s something else (or a link) you''re referring to, please post and I''ll try to help out.

Cheers.


这篇关于ASP.NET 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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