I modified one of the portal examples posted in this forum to create rad docks dynamically. I'm opening up a RadWindow using a custom DockCommand in my docks. The RadWindow contains an editor. I treat the window like a dialog and pass back the html from the editor (RadWindow) to the calling page and dock by using this callback function
This all works great but I need to reference the html sent back on postback so I can save it (to a db or whatever) but I'm not sure how. Maybe I'm going about this incorrectly.
Can anyone offer some advice?
| function CallBackFunction(radWindow, returnValue) |
| { |
| var dock = $find(clickedID); |
| if (returnValue) dock.get_contentContainer().innerHTML = returnValue; |
| else alert ("No text was returned"); |
| } |
This all works great but I need to reference the html sent back on postback so I can save it (to a db or whatever) but I'm not sure how. Maybe I'm going about this incorrectly.
Can anyone offer some advice?