Editor.Text does not retrieve current content

Last post 06-15-2006, 6:00 PM by rokinroj. 1 replies.
Sort Posts: Previous Next
  •  06-15-2006, 5:41 PM 20203

    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

  •  06-15-2006, 6:00 PM 20204 in reply to 20203

    Re: Editor.Text does not retrieve current content

    Adam,

    Sorry, false alarm.  I was using an Anthem (AJAX) button because of an Anthem script I was running in the same Preview method.  I seperated them out and the Editor is working as expected.

    Thanks

View as RSS news feed in XML