Hi,
I have a form with a radsplitter control. The left hand pane has a treeview for navigation. When a node is clicked a
specific page is loaded into the right hand pane using the serverside ContentURL property.
One of the loaded pages contains a RadEditor control. This has its OnClientLoad event wired to a handler that
toggles the screen mode in order to show the RadEditor full screen (within the pane).
Also, on the RadEditor control I have created a custom button ('Save') that initiates an ajax request. The ajax
request handler saves the content of the Radeditor to the database.
This works great.
However I want to ensure that when the user clicks another node in the tree (and another page gets loaded) that the
existing content in the RadEditor is saved to the database. (Just in case the user had forgotten to press the custom
'Save' button).
So, I wired up some javascript in the parent form to respond to the treeview OnClientNodeClicking event. In this
javascript function I get a reference to the editor within the pane and fire the custom 'Save' command.
Sure enough, the editor's content is saved to the database but also I get a javascript error:
Error: '_f.get_contantArea()' is null or not an object
I can't work out why this error is occurring. Any clues?
I've created a website to demonstrate but not sure how to attach a file to the post.