How do I display a value (text) in the editor on page load? I'm a newbie...please help!

  •  05-18-2009, 10:52 AM

    How do I display a value (text) in the editor on page load? I'm a newbie...please help!

    Hello,
     
     I am new with asp.net and cute editor and I'm trying to create a simple content management system.  I am trying to display a value in the editor when the page loads.  This value will be pulled from a database and updated when the page/editor is submitted.
     
    I've used fckeditor with php and it looked like this: 
     
    $oFCKeditor = new FCKeditor('FCKeditor1') ;
                        $oFCKeditor->BasePath = 'fckeditor/' ;
                        $oFCKeditor->Value = $page_copy;
                        $oFCKeditor->Create() ;
     
    Where the $page_copy variable was the database value displayed when the editor loaded.  Is there some type of "value=..." with the cute editor for asp.net?  I'm sure this is pretty simple but I can't figure it out!  Thanks so much....I really appreciate your help!
     
    -Brett
View Complete Thread