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
570
set WebSplitter's height by javascript
posted

Why I dot not set WebSplitter's height by javascript?  Please see below javascript code:

var webSplitter=document.getElementById("T_WebSplitterTreetmpl0UltraWebTree1");            webSplitter.height="735px";

Parents
No Data
Reply
  • 7694
    Suggested Answer
    posted

    Hello,


    You can use function $find (“spliterID”) and then follow code below:

    JS code:

      function Button1_onclick() {
                var spliter = $find("WebSplitter1");
               
                spliter._element.style.height = "100px";
                spliter._element.style.width = "100px";
            }


    Also you can take a look samples at:
    http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm


    And online documentation at:
    http://help.infragistics.com/NetAdvantage/NET/2008.3/CLR3.5/

    Hope this helps.

Children