Вопрос

By default, validators of asp.net look like label. Can I replace them to become divs, radiobox, checkbox etc.. ?

Это было полезно?

Решение

Yes, look at ASP.NET's Control Adapters: http://msdn.microsoft.com/en-us/magazine/cc163543.aspx

You will need to completely re-implement the rendering of the control, however, and the best way to do this is by going through the ASP.NET source-code or by using Reflector to see how it's done.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top