Samaira Sam

Samaira Sam

  • NA
  • 6
  • 14.3k

Microsoft.Security.Application.AntiXss.HtmlAttributeEncode()

May 3 2018 3:32 AM
I am getting below error on using below code in my vb.net.
 
Code :
 
<td class="body" ><%=Microsoft.Security.Application.AntiXss.HtmlAttributeEncode(varMethod("TokenNumber"))%>&nbsp;</td>
 
Error : Microsoft VBScript runtime error '800a01a8'
Object required: ''
 
Please provide solution for using AntiXSS on varMethod("TokenNumber")

Answers (1)