Sep 22, 2008, 9:46 AM
[CLOSED] HtmlEditor
Hello,
Wondering if someone can help me with this, kind of annoying. When you run the following example below:
1. Enter "Hello World"
2. Highlight "Hello World" and add a hyper link
3. Hyperlink should point at "/Example.aspx" click OK
4. Click Source View
5. Notice Href="/Example.aspx"
6. Switch back to WYSIWYG
7. Click Source View (again)
8. Notice Href="http://localhost/Example.aspx" (or whatever your machine is ;))
Small but enough of an impact on me, can anyone recommend a method to override this?
Cheers,
Timothy
Wondering if someone can help me with this, kind of annoying. When you run the following example below:
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<script runat="server">
</script>
<!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 id="Head1" runat="server">
<title>Example</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:HtmlEditor ID="Example" e runat="server" />
</form>
</body>
</html>
Replication steps:1. Enter "Hello World"
2. Highlight "Hello World" and add a hyper link
3. Hyperlink should point at "/Example.aspx" click OK
4. Click Source View
5. Notice Href="/Example.aspx"
6. Switch back to WYSIWYG
7. Click Source View (again)
8. Notice Href="http://localhost/Example.aspx" (or whatever your machine is ;))
Small but enough of an impact on me, can anyone recommend a method to override this?
Cheers,
Timothy