Quote marks in controls' property in ASP.NET markup
- by abatishchev
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?