Has anyone got the editor generated server side? The code generates the control but the produced IFrame renders at 0,0 not where it was inserted in the html code. Any ideas?
Dim f As New FredCK.FCKeditor
f.ID = Me.UniqueID & "_Message"
f.Page = Me.Page
f.BasePath="http://localhost/redravenskin/FCKeditor/"
f.RenderControl(output)
Mon, 02/21/2005 - 22:09
#1
RE: Generating server side in ASP.Net
My apologies for being a muppet
RE: Generating server side in ASP.Net
There is just some conceptual confusion in your problem. The editors control works correctly. Ill try to explain.
ASP.NET works completely different from old ASP. On ASP.NET the code is completely separated from the layout. In your example you said the Framework to render the control, but you didnt say where to put it. You dont have to work on ASP.NET like you do on ASP. These languages have similar names but are completely different.
To see how to use the editors control take a look at the test.aspx file on the _test folder of the editors package. You will see that the ASP.NET solution is even more clear a simple than ASP. In poor words you just need to add the following line on the top of your ASPX page:
<%@ Register TagPrefix="FredCK" Namespace="FredCK" Assembly="FredCK.FCKeditor" %>
And to add the following tag wherever you want the editor on your page:
<FredCK:FCKeditor id="FCKeditor1" runat="server></FredCK:FCKeditor>
Obviously the editor instance placed in the page can also be controlled by code. For example you could set the value of the editor on your Page_Load method like this:
FCKeditor1.Value = Initial value ;
Sorry if my explanation was not so clear, but I hope I could help you. See you,
FredCK
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
RE: Generating server side in ASP.Net
which files are required and where do they go.
the sample files are buried in the labyrinth of the download so it could be any of them