How i can collapse panel of splitter using javascript?
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am using Obout splitter. I want to collapse and expand panel left using java script in to child page. I had written following code for javascript function. I perfectly get the object of splitter and check box, but whenever I click that check box it display error that Error:45 Object doesn't supporting this property or method. So ,how i remove this error and collapse panel. function chk_changed() { var mySpl1 = window.parent.document.getElementById ('mySpl'); var check = window.document.getElementById('header1_chkenable'); alert(mySpl1); if (check != null) { if (check.Checked() == "true") mySpl1.CollapsePanel("left"); } }