I made a toolbar item that pops up a aspx page that hase a textbox field which is a template name. and it has a save button. When I save it I need to grab the html from the editor
I'm not exactly sure what it is you're trying to do by displaying another aspx page unless you're trying to emulate the "Save As..." dialog box in a lot of Windows apps. In my case, I have an asp:button on the form containing FCKEditor; clicking the button displays an AJAX modal popup window to allow the user to enter a file name. Once a file name has been entered and the user clicks the OK button, I grab the HTML from FCKEditor and store it in the file whose name was returned from the modal popup window.
On my aspx page, I have given the FCKEditor control an ID of FCKeditor1. In the code-behind that handles the OK button on my modal popup window, I simply grab FCKEditor's contents by setting a string variable = FCKEditor1.Value.
Re: How to save html???
On my aspx page, I have given the FCKEditor control an ID of FCKeditor1. In the code-behind that handles the OK button on my modal popup window, I simply grab FCKEditor's contents by setting a string variable = FCKEditor1.Value.
HTH
Allen