Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top