Editor.Text does not retrieve current content

  •  06-15-2006, 5:41 PM

    Editor.Text does not retrieve current content

    Adam,

    I have a requirement to disable the preview tab and provide a custom preview button to allow for some custom server side operations, which I have done.  The first thing that happens in my custom button click is to call Editor.Text (or Editor.XHTML) and retrieve the Editor's current contents. 
    The problem I'm expieriencing is that the value returned does not represent the current values, rather the values that were there at load.  If I save the editor first and then preview, it looks correct.  It almost seems like I'm calling Editor.Text before a certain, necessary event has fired or something.

    What do you suggest?

    Thanks
    Roger

View Complete Thread