Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们应该如何使用 asp.net 4.0 附带的 ClientIDMode 属性?...什么时候我应该使用一个而不是另一个 clientIdModes?
Rick Strahl 就这个主题写了一篇不错的文章:
ASP.NET 4.0 最令人期待的特性之一——至少对我而言——是新的 ClientIDMode 属性,它可用于强制控件生成不遵循 ASP.NET 的 munged NamingContainer ID 约定的干净客户端 ID。