Here's my scenario:
|_ram.ResponseScripts.Add("var editorParent = $get('" & radedit.ClientID & "'); editorParent.style.display = ''; var editor = $find('" & editbox.ClientID & "'); editor.onParentNodeChanged(); var style = editor.get_contentArea().style; style.backgroundImage = ""none""; style.backgroundColor = ""white"";") |
However, as you can see from the screenshots I attached, I am still having issues with size. The first screenshot shows what it looks like when it first loads. Those orange buttons should be below the radeditor. The problem is that an inline style setting the radeditor to 640x480 is injected somewhere (even though the editor is taller than that). If you click one of the three buttons at the bottom (Design, HTML, or Preview), you get screen shot 2 where is resizes some but its still not right.
Let me know if you want to see any other parts of the code.