This is a migrated thread and some comments may be shown as answers.

RadEditor dropping IE Comments

1 Answer 32 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mark Kucera
Top achievements
Rank 1
Mark Kucera asked on 30 Nov 2011, 05:11 PM
Hey guys, i know this one might be a bit wierd.  I have a client who is trying to design an html page using the RadEditor (upgraded to the latest internal build this week).  The HTML has some IE tags enclosed in html comment fields.  they do some browser detection and then write out the <HTML> tag with the appropriate style tags added.  They want the code to look like this:

<!doctype html>
<!--[if IEMobile 7]><html class="no-js iem7 oldie"><![endif]-->
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html class="no-js" lang="en"><!--<![endif]-->

but when i insert this into the RadEditor it comes out looking like this:

<html class="no-js" lang="en"><!--<![endif]--><!--[if (gte IE 9)|(gt IEMobile 7)]><!--><!--<![endif]-->

How can i configure, or what can i add to my editor code to prevent this re-write from occurring?

Thanks!
-Mark

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Dec 2011, 01:22 PM
Hello Mark,

Thank you for reporting this problem.

I logged it for fixing in our bug tracking system. Here you can find the PITS Issue: Public URL and check its status. If more users votes for this public PITS item or report it, we will raise its priority.

I also updated your Telerik points for your feedback.

All the best,
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
Tags
Editor
Asked by
Mark Kucera
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or