Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

How do I set the initial HTML to be displayed in the DevEdit control when it's loaded?

You need to call the SetValue function of the DevEdit class, which you can do like this:

<?php

include("de/class.devedit.php");
$myDE = new DevEdit;
SetDevEditPath("/de");

$myDE->SetName("myDevEditControl");
$myDE->SetValue("<b>this is the initial value</b>");
$myDE->ShowControl(500, 400, "myimagedir");

?>

You can also set the value of the editor using a variable, such as:

<?php

// Other code here...
$myHTML = "<b>test</b>";
$myDE->SetValue($myHTML);

?>


Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software