Re: How to get instance of editor wrapped in UserControl?

  •  12-18-2008, 2:15 AM

    Re: How to get instance of editor wrapped in UserControl?

    Hi Adam,
    Thanks ..it worked... But in firefox mozilla it is not working for a specific case.
     
    I have a page where I'm using 2 editor's. Basedon some logic it is required to show or hide the editor.so if one editor is hidden (for this I'm using "display:none"),then the above is not working inFirefox when I use
     
    var contentData = document.getElementById('CE_ctl00_abc_myUserControl_Editor2_ID').GetHTML(); (Visible on page)
    var contentData= document.getElementById('CE_ctl00_xyz_myUserControl_Editor2_ID').GetHTML(); (display:none:- not visible on page))
    Giving Error: document.getElementById("CE_ctl00_xyz_myUserControl_Editor2_ID").GetHTML is not a function
     
    Pls suggest!
     
    Thanks
View Complete Thread