Quote marks in controls' property in ASP.NET markup
Posted
by abatishchev
on Stack Overflow
See other posts from Stack Overflow
or by abatishchev
Published on 2010-05-16T18:55:23Z
Indexed on
2010/05/16
19:00 UTC
Read the original article
Hit count: 262
Sounds dummy but I can't set to a server-side control's property a value contains quote marks "
:
<asp:CompareValidator ErrorMessage="Curreny-from can't be equal to currency-to" runat="server" />
I need to quote "from" and "to".
I tried escaping \"from\"
and double quote marks ""from""
- both doesn't work. How to do that?
© Stack Overflow or respective owner