I am new to asp.net. I am using “tinymce”, there I am using html tables. On click of a button it’s throwing an error:
A potentially dangerous Request.Form value was detected from the client
(txtspecification="<table border="1" ce...").
Can anyone please help me in solving this? Thanks in advance.
Your problem will be that you are posting back to an ASP.NET page which has ‘request validation’ turned on. Essentially, the HTML from tinymce will contain angle brackets and that (amongst other things) will trip ASP.NET’s security checking functionality (which is trying to trap cross-site scripting attacks). You can turn off request validation in the ASP.NET page.
Turning off request validation in page using page directive: