View Full Version : How to load HtmlEditor with html?
dbassett74
25 Jun 2009, 1:59 PM
I'm implementing a feature to allow an end user to select a value in a combobox, which when selected, will query a web page passing a parameter, and returning html and then populating an HtmlEditor. Is this possible? I thought a web service was overkill for this, but I'm not sure. Any suggestions would be appreciated.
hendricd
25 Jun 2009, 2:05 PM
@dbassett74 -- You could certainly use the setValue method of HTMLEditor to load the markup from your site into its IFRAME, but the problem comes in the actual editing of it. The editor is not designed to edit page-markup, because it uses HTML tags for formating.
dbassett74
25 Jun 2009, 4:03 PM
That's what I need. I don't want to see the actual html, but I want it to be formatted/rendered just as if in a browser.
Vivek Som
15 Jul 2009, 3:54 AM
I also have a same problem.......if anyone has a solution then plz reply soon:-|
dbassett74
15 Jul 2009, 6:29 AM
Let me provide a better explanation of what I'm trying to do.
In default.htm, I have a Button and HtmlEditor. When I click the Button, I want to grab the page at template.htm, and load it directly into the HtmlEditor. Is it possible to specify a URL to load directly into HtmlEditor? I don't know how to accomplish this so any help would be appreciated. Thanks.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.