Support forums
in

Cute editor with in ultrawebtab issue

Last post 03-20-2012, 7:11 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  03-19-2012, 2:33 AM 73511

    Cute editor with in ultrawebtab issue

    Hi All,
     
    i have an issue with this method getHTML(), when cute editor placed within ultrawebtab;
    i can able to successfully  get cute editor control but i cant get text with in cute editor.
     
    code used:
     
                 var tab = igtab_getTabById('igtabUserDetails');      //success
                var Header = document.getElementById(tab.findControl("wheGrpHeader").id);  //success
                var GrpHeader = Header.getHTML();  //not success
    i got the below error
     

     
    please help me to fix the issue
     

    Many Thanks
    Ramesh durai
    Filed under:
  •  03-19-2012, 7:12 AM 73515 in reply to 73511

    Re: Cute editor with in ultrawebtab issue

    Hi Rameshdurai,
     
    Before you use API getHTML(), you must ensure that the editor is load complete. That means the editor must in the current tab.
     
    property id is the normal html element, so you can get it success. But the API is load dynamically.
     
    Regards,
     
    Ken 
  •  03-20-2012, 12:23 AM 73522 in reply to 73515

    Re: Cute editor with in ultrawebtab issue

    Hi Ken,
    Thanks for your reply.
     
    i have 4 tabs in that particular page, within that i had placed 2 cute editors in 2nd Tab and another one cute editor in last tab (4th Tab).
    i cant keep that tab always in focus before use the getHTML() method. i always kept first Tab in focus.
     
    Please suggest any tricks or alternatives to achieve my request.

    Many Thanks
    Ramesh durai
  •  03-20-2012, 7:11 AM 73525 in reply to 73522

    Re: Cute editor with in ultrawebtab issue

    Hi Rameshdurai,
     
    I suggest you execute the getHTML() when switch to the editor tab. It should be a activate tab method, You can use the getHTML() in this method.
     
    Regards,
     
    Ken 
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems