Jun 06, 2012, 8:00 AM
[CLOSED] [1.X] HtmlEditor and IE compatibility mode changes "a" tag
Hi
I'm using HtmlEditor like in this example:
---------------------------------------------------------------------------------------------------------
Code Behind
---------------------------------------------------------------------------------------------------------
Well, when I use IE compatiblilty mode it changes href in link with current page path.
Ex:
Greetings
I'm using HtmlEditor like in this example:
---------------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ext:ResourceManager ID="rsm" runat="server">
</ext:ResourceManager>
<ext:HtmlEditor ID="Editor" runat="server">
</ext:HtmlEditor>
</div>
</form>
</body>
</html>
---------------------------------------------------------------------------------------------------------Code Behind
---------------------------------------------------------------------------------------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Editor.Text = "<a href='www.google.com' />"
End Sub
---------------------------------------------------------------------------------------------------------Well, when I use IE compatiblilty mode it changes href in link with current page path.
Ex:
<a href='www.google.com' />
replaced by <A href="http://localhost:56379/www.google.com"></A>
Are there any problem with HtmlEditor and IE when it loads any "a" tag?Greetings
Last edited by Daniil; Jun 08, 2012 at 2:27 PM.
Reason: Please use [CODE] tags for all code, [CLOSED]