I have a textbox inside a TemplateField column for a gridview. When I set the cssClass property for the textbox, it gets overwritten by a "textBox" class in the rendered web page. Is this normal beha开发者_运维百科vior? (.NET 3.5)
As a workaround I added a 'style' attribute.
It seems that SkinId has precedance over CssClass: http://forums.asp.net/t/1469529.aspx/1
精彩评论