PDA

View Full Version : [CLOSED] How to Handle ExtraParams "Ext.encode(record.data)" with html tag



mis@adphk.com
Jul 08, 2015, 7:45 AM
I can capture record.data in case 1, but error in case 2 (include html tag)

Case 1
ID=Record01, myData=HelloSir


Case 2
ID=Record01, myData=Hello<br/>Sir
ID=Record01, myData=Hello<img src=xx.jpg/>Sir

Daniil
Jul 09, 2015, 3:46 PM
Hello!

I would recommend to try Ext.htmlEncode() on client and HttpUtility.HtmlDecode(); on server.