Exception will be thrown while trying to save the record with template column. Refer the below screenshot for the error
Template column is not properly initialized or template column is validated by master page while updating a record.
“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
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|9213||08/27/2018||08/27/2018||ASP.NET Web Forms||Grid|