Workaround non-themeable properties (specifically asp:Button OnClientClick)

Posted by Richard Ev on Stack Overflow See other posts from Stack Overflow or by Richard Ev
Published on 2010-03-12T16:57:36Z Indexed on 2010/03/12 21:17 UTC
Read the original article Hit count: 365

Filed under:
|
|
|

Retrofitting ASP.NET WebForms themes to an old application I have a need to theme an <input> tag such that the JavaScript click event is different for each theme. I replaced with tag with an asp:Button, only to disciver that the OnClientClick property is not themeable.

Can anyone suggest a workaround for this?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about webforms