Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Saving results with embedded table
posted

I have a column in my grid that contains an embedded HTML table. Works great, looks just like I want it.

I have a problem, however, when trying to update data on the grid (sending to server with SaveChanges). When data is sent to the server, the table gets sent too and I get an error when trying to read the transaction from the response ("A potentially dangerous Request.Form value was detected..."). I understand why I'm getting the error, I'm sending embedded HTML in my request.

My question is, is there any way that I can NOT send that particular column when I post an update? I don't need that column in the update set (it's read-only and I don't need it at the server) but I can't see any way of not sending that particular column or otherwise not sending the embedded HTML. I tried an unbound column, I tried the "mapping" option on the column, neither work, the column with the HTML table still gets sent and there doesn't seem to be any way for me to "escape" the embedded HTML to avoid the issue.

Turning off the warning is not an option, and I'm wondering if there's any other solution short of manually serializing and sending the data?

This is in version 17.1

Thank you.

Parents Reply Children
No Data