Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
How can I do...
posted

... setting text in webpanel control. currently I use the following javascrip method:

function _setInfoText(){
    var o = _client.MasterPanelHeader.WebPanel()._headerElement;
    var text = arguments.length == 0? arguments[0] : "";
    if(o.childNodes.length > 1){
        o.childNodes[0].nextSibling.nodeValue = text;
    }else{
        _util.appendText(o, text);
    }
}

has this control any method, these this can do?

sample: _client.MasterPanelHeader.WebPanel().setHeaderText('bla bla') ??

Thanks