Hi,
I have a simple RadTextBox and button as follows:
<telerik:RadTextBox ID="txtForename" runat="server" EmptyMessage="<first name>"></telerik:RadTextBox> <asp:button ID="btnGo" runat="server" text="Go" /> |
The problem is that .Net framework request validation is invoked on the value of EmptyMessage, as when I click the button I get:
Server Error in '/' Application. |
-------------------------------------------------------------------------------- |
A potentially dangerous Request.Form value was detected from the client (Energy1_txtForename_text="<first name>"). |
This is happening because of the <> in the EmptyMessage, but I thought no actual value would be stored or passed with the input? How can I work around this without turning off request validation, but still retain my nice EmptyMessage?
Thanks.
Craig