Maximum call stack size exceeded Error

4
I am getting Maximum call stack size exceed error  I am trying to display a list of records in the list view based on visibility condition . If the visibility condition is ‘TRUE’ the list will appear If  ‘FALSE’ the list will disappear. This visibility condition changes when I click on button  in a page. If I click on (+) button visibility sets as a ‘TRUE’ . If I click on ( – ) button visibility sets as a ‘FALSE’  based on this visibility the list will appear in the page . When I Click on the (+) button list is appearing fine unfortunately When I Click on the ( – )  button  I am getting Maximum call stack size exceed error from client side in this case list returns 30 Objects .     
asked
0 answers