Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: RichTextBox in ASP.NET?


Message #1 by "Saikat Kaler" <kaler_72@h...> on Wed, 14 Aug 2002 14:06:04
Hi,
Recently I found a control called r.a.d.editor on GotDotNet.com 
(http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=telerik) and 
downloaded it. I had no problems adding it to my page. Its behavior is 99% 
like the WinForm's RichTextBox (allowing the user to format text, insert 
tables, images, etc.) and it adds a customizable toolbar to edit the 
content. First I thought these guys use ActiveX to provide such behavior. 
When I loaded my ASP page in IE and looked at the page source I couldn't 
find any trace of ActiveX. But what impressed me the most were some 
<script> tags with language properties set to "JavaScript.Encode" that had 
some strange characters enclosed between them. I'm not quite good with 
javascript but this didn't look like JavaScript. Could anyone tell me if 
this is a way to insert a Winform control into HTML because the only other 
way i know is to use an <object> tag. However, if i do it this way the 
client is asked for permission to install the control on the client's 
machine and that's what r.a.d.editor didn't do.

Saikat Kaler
Message #2 by =?iso-8859-1?Q?Oddur_Sn=E6r_Magn=FAsson?= <oddur@n...> on Wed, 14 Aug 2002 14:28:08 -0000
It's javacript
Document.editMode = "on"; to be exact.
 
The javascript is encoded using Microsoft Script encoder(
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script5
6/html/SeconScriptEncoderOverview.asp )
 
So the r.a.d. editor has nothing to do with winforms.
 
 
 
 
-----------------------------------
>
>    Oddur Snær Magnússon 
>    oddur@d...
>    +xxx xxx-xxxx
>    http://www.disill.is
>
-----------------------------------
 
-----Original Message-----
From: Saikat Kaler [mailto:kaler_72@h...] 
Sent: miðvikudagur, ágúst 14, 2002 14:06
To: ASP+
Subject: [aspx] RichTextBox in ASP.NET?
 
Hi,
Recently I found a control called r.a.d.editor on GotDotNet.com 
(http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=telerik) and

downloaded it. I had no problems adding it to my page. Its behavior is
99% 
like the WinForm's RichTextBox (allowing the user to format text, insert

tables, images, etc.) and it adds a customizable toolbar to edit the 
content. First I thought these guys use ActiveX to provide such
behavior. 
When I loaded my ASP page in IE and looked at the page source I couldn't

find any trace of ActiveX. But what impressed me the most were some 
<script> tags with language properties set to "JavaScript.Encode" that
had 
some strange characters enclosed between them. I'm not quite good with 
javascript but this didn't look like JavaScript. Could anyone tell me if

this is a way to insert a Winform control into HTML because the only
other 
way i know is to use an <object> tag. However, if i do it this way the 
client is asked for permission to install the control on the client's 
machine and that's what r.a.d.editor didn't do.
 
Saikat Kaler
---
 
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
 
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
 
These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  
 
---


  Return to Index