Hi,
I have a rad grid that is using EditFormSettings with a FormTemplate and in Popup mode. It is displaying a couple of items in the popup for editing purposes that are not already displayed in the grid. When a user is typing in information into these areas, I want to inform the user of any HTML tags they may mistakenly enter.
As it stands now, in testing, when HTML tags are entered into one of the text boxes and save is clicked, the form just brings back what was on the screen at submission and I record a HttpRequestValidationException in my event log. Clicking on the cancel button also exhibits this behavior as it also performs a postback and will not let me cancel the edit without removing the offensive tags.
When I debug the page through Visual Studio, I get this error message from the ScriptResource.axd: "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500".
I cannot turn off page validation. Not an option. What I need is some way to display a message to the user that the data they have entered is incorrect and that they need to correct it to continue.
Thanks.
I have a rad grid that is using EditFormSettings with a FormTemplate and in Popup mode. It is displaying a couple of items in the popup for editing purposes that are not already displayed in the grid. When a user is typing in information into these areas, I want to inform the user of any HTML tags they may mistakenly enter.
As it stands now, in testing, when HTML tags are entered into one of the text boxes and save is clicked, the form just brings back what was on the screen at submission and I record a HttpRequestValidationException in my event log. Clicking on the cancel button also exhibits this behavior as it also performs a postback and will not let me cancel the edit without removing the offensive tags.
When I debug the page through Visual Studio, I get this error message from the ScriptResource.axd: "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500".
I cannot turn off page validation. Not an option. What I need is some way to display a message to the user that the data they have entered is incorrect and that they need to correct it to continue.
Thanks.