views:

88

answers:

1

Are all asp net validators rendered as < span> tags?

This is important as spans are being used in the styling and a strict css heiracrchy is in place and I don't want to add redundant < span> tags around what will be rendered at runtime.

+2  A: 

When you use ASP.NET more than just the validators are wrapped with spans. A RadioButtonList also has a span wrapped around the items. Very annoying sometimes.

Joop