2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
Problem Exception will be thrown while trying to save the record with template column. Refer the below screenshot for the error
Cause Template column is not properly initialized or template column is validated by master page while updating a record. Solution “A Potential dangerous Request” exception error can be over come by defining the validateRequest property of Pages as false and requestValidationMode as “2.0” (of httpRunTime) in the WebConfig file. Refer the below code
Please refer to the below online links where this query has been discussed.
Or you can define the ID of the script tag in the Template property of Column instead of directly defining the html elements in it. Refer the below codes
|
2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.
This is not a valid solution! Data should be handled in an other way, it should not activate the request validation. It's not a recommended solution to turn off request validation. This is a bug!