Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Why a line break is added each time when i insert anything in ajax editor

$
0
0

Hi,

Whether i am using ajax editor or htmleditor extender (with textbox), a <br/> tag adds automatically at the end when i insert anything.

I am not pressing enter or any space after last word.

What is am doing is just before inserting is like this only:

pMessage.Value = Server.HtmlEncode(edtor1.Content.Trim());

and after that insertion.

May i know the reason behind it ?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>