HtmlArea Editor any thought

G

Guest

Hi EveryBody:

I want to made an e-mail system by using asp.net web application in Vb.Net
2003,
I found something of What uou see is what you get editor system that called
html area, I hope if some body know about this system help me in the
following problem:

My proble Is When I put thefollowing called in the <Head></Head> area as they

told me in readme file:

<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 56px; POSITION:
absolute; TOP: 88px" runat="server"
Width="424px" Height="152px">
</asp:TextBox>
<script language="JavaScript1.2" defer>
editor_generate('TextBox');
</script>

I got nothing in my form of this editor.

So any one deal with that editor befor can tell me how to handel this problem.

Any help or redirection can be appreciated

regard's

Husam
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "http://localhost/WebHusam/"; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if(navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if(navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if(navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if(win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="'+_editor_url+ 'editor.js"');
document.write('language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return
false;}
</scr'+'ipt>'); }
// --></script>
and also when I put this code in the text area:
 
K

Karl Seguin [MVP]

Well, maybe ur supposed to pass in TextBox1 since that's ur id.

I'd also guess the <asp:textbox..> itself is supposed to be in the
<body><form runat="server"></form></body> not the head.

Finally, you might consider the very popular and free FreeTextBox control
which is a fully fledge ASP.NET server control:
http://freetextbox.com/default.aspx

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top