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.
我在 TemplateField 列中有一个用于 gridview 的文本框。当我为文本框设置 cssClass 属性时,它会被呈现的网页中的“文本框”类覆盖。这是正常行为吗?(.NET 3.5)
作为一种解决方法,我添加了一个“样式”属性。
似乎 SkinId 优先于 CssClass: http ://forums.asp.net/t/1469529.aspx/1