Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
How to display the cute editor in code without registering them as a server control
How to display the cute editor in code without registering them as a server control
Last post 07-27-2006, 12:12 AM by
scheineden
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
07-27-2006, 12:09 AM
21293
scheineden
Joined on 07-21-2006
Posts 8
How to display the cute editor in code without registering them as a server control
Reply
Quote
Dim
SB
As
New
System.Text.StringBuilder
Dim
SW
As
New
StringWriter(SB)
Dim
htmlTW
As
New
HtmlTextWriter(SW)
Dim
re
As
New
CuteEditor.Editor
re.ID = "editor"
re.RenderBeginTag(htmlTW)
re.RenderControl(htmlTW)
re.RenderEndTag(htmlTW)
Response.Write(SB.ToString())
Code above only succesfully displaying a part of a table and textarea
but still missing the divtool bar and iframe and its all configurations.
I just wonder if some one can give an advise. I think there should be a way to display the cute editor, as all the methods are provided by the dll.
07-27-2006, 12:12 AM
21294
in reply to
21293
scheineden
Joined on 07-21-2006
Posts 8
Re: How to display the cute editor in code without registering them as a server control
Reply
Quote
Response.Write change to label1.text = SB.ToString()
Note the label1.text is a control object