Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Removing auto convert of URL's in RadEditor
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Removing auto convert of URL's in RadEditor

Feed from this thread
  • Andy avatar

    Posted on Oct 24, 2011 (permalink)

    In Radeditor when you enter a URL such as www.hotmail.com and press space afterwards it converts it into a HTML hyperlink. Is there any way to stop or turn off this functionality? e.g. so the contents property returns the raw text not the html.

    I am dynamically creating rad editor controls and giving the content to another process that does not understand HTML. I currently process the output to remove/replace HTML characters e.g. changing &amp; to & and <br /> to newline. But trying to remove a href tags would be a pain and might not always be accurate.

    If there is no easy answer I'll just tell the users a workaround e.g. paste in from Word via the 'paste as plain text' toolbar option.

    Andrew

  • Rumen Rumen admin's avatar

    Posted on Oct 27, 2011 (permalink)

    Hi Andy,

    The text to link auto conversion is a feature of the IE browser and the browser does not offer a way to disable it.
    What you can do is to obtain the content from RadEditor as plain text using its Text server property, not the Content one.

    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Removing auto convert of URL's in RadEditor