As you know, <asp:button />
renders <input type="submit" />
on the client, and the controls of <input />
family cannot parse HTML tags set in their value attrbute - this is why the framework escapes the tag brackets with entities or just shows up the brackets without parsing them and no client or server code or hack will make them display an image. This is why I said that you should use the <button />
tag instead - it is meant to work the way you need it. Also - the <button />
tag implements three types, as the <input />
buttons do - submit
, so you will be able to use the submit functionality, because basically there is no difference between <button type="submit" />
and <input type="submit" />
on the client.
I cannot offer you neither a solution for this, nor try to implement your suggestion in RadFormDecorator, because this is just the way browsers work - HTML offers a great number of different controls and each one comes with its own functionality and purpose, and they should be used accordingly.
the Telerik team