Click here to Skip to main content
15,883,749 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i disable text area so i cant direct add text in text area but text area have emoji if emoji click then emoji is displaying in Textarea but still in disable.

so how can i disable textarea in that way emoji also not add .

What I have tried:

MessageTxtArea.Disabled = true; using asp.net
Posted
Updated 8-Oct-17 19:26pm
Comments
jaket-cp 9-Oct-17 4:40am    
What else does the emoji click do?
I ask as if it is only related to the TextArea - you could hide the emoji on the server side when TextArea is being disabled.

1 solution

You must have a javascript function responsible for adding emoji in text-area. Put a check in that function to check if text-area is enabled before adding.
Alternatively, you can disable the emoji option when text-area is disabled. Your call.
 
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