I asked this earlier as a follow-on to someone else's question, but thought I'd repost it as a new question. Anyhow...
In my app, I have no problem reading values users have entered into the editor nor do I have any problem loading the editor with text that has been saved; however, I seem to be unable to clear out the contents of the editor once the user has finished editing their text and saved it to the database.
I've tried statements such as:
FCKeditor1.Value = String.Empty(), and
FCKeditor1.Value = "", and even
FCKeditor1.Value = Nothing
None of them have had any effect in removing the edited text from the editor. Any ideas?
In my app, I have no problem reading values users have entered into the editor nor do I have any problem loading the editor with text that has been saved; however, I seem to be unable to clear out the contents of the editor once the user has finished editing their text and saved it to the database.
I've tried statements such as:
FCKeditor1.Value = String.Empty(), and
FCKeditor1.Value = "", and even
FCKeditor1.Value = Nothing
None of them have had any effect in removing the edited text from the editor. Any ideas?
Re: Inability to clear editor's contents
My bad.
I forgot I had the bloody editor in an AJAX UpdatePanel...all I needed to clear the editor's content was add an AsyncPostBackTrigger based on the Save button's OnClick event to the UpdatePanel.