DropDownlist问题 [英] DropDownlist problem

查看:71
本文介绍了DropDownlist问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个下拉列表,其中包含hk-gh,amit-salman等值.但是,当我编写代码以使所选值写在word或某些文本文档中时,它会给出类似hk#&ghm,amit ^的值&salman等.我要原价hk-gk,amit-salman.有人可以帮我吗?

I have a drop down list having values like hk-gh, amit-salman etc. But when I write code so that selected values are written in word or some text documents, it is giving something like hk#&ghm, amit^&salman etc. I want original value hk-gk,amit-salman. Ca somebody please help me?

推荐答案

我在使用AntiXSS libraray时遇到了这个问题.如果您还在某处使用它,请检查是否正在执行双重编码.如果是,它会按照您所说的那样追加.

如果没有,我不确定是什么问题.共享代码可能会有所帮助.
I have faced this issue while using AntiXSS libraray.If you are also using it somewhere,check double encoding is happening.If so ,it will append as you have said.

If not,I am not sure what could be the problem.Sharing of code may help.


这篇关于DropDownlist问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆