What Changed
The controls raise a server-side exception when end users enter a potentially dangerous text to a string field in batch edit mode and then save changes. Potentially dangerous text is a text that can be converted to HTML with unsafe tags. For example, "<" and ">" symbols would be converted to html tags.
Reasons for Change
In previous versions, the controls have not validated potentially dangerous editor values.
Impact on Existing Apps
This change affects your application and validates all editor values before saving them to the database in batch edit mode.
How to Change the Default Behavior
We've introduced the ASPxWebControl.BackwardCompatibility.ValidatePotentiallyDangerousValuesInBatchEditMode property whose default value is true. Set this property to false to return to the previous behavior.
C#void Application_Start(object sender, EventArgs e) {
ASPxWebControl.BackwardCompatibility.ValidatePotentiallyDangerousValuesInBatchEditMode = false;
}
Visual Basic 6Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
ASPxWebControl.BackwardCompatibility.ValidatePotentiallyDangerousValuesInBatchEditMode = False
End Sub