Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted
Updated 19-Jan-11 5:23am
v4
Comments
Ankur\m/ 19-Jan-11 8:20am    
'-' charater shouldn't have any problem with Word/Text file.
Can you post the relevant code here?
thatraja 19-Jan-11 9:35am    
Include your code in your question
HimanshuJoshi 19-Jan-11 11:23am    
Updated for readability

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900