This error replicated when You attempted to pass a non-JavaScript object to a built-in function that expects a JavaScript objectThere are multiple reason for this error ? some of the possible causes for this error are as below- You have used JQuery but not added its reference tags in HEAD section of ASPX- Some of the JQuery methods are not working properly on old browser version (IE8)- in your .JS file 'SizeContainers' method should existcan you share your code so that we can help you better in order to resolve issuesThanksKoolprasd2003Editor, DotNetSpider MVMMicrosoft MVP 2014 [ASP.NET/IIS]

Hai Chinnari,As you are calling the nested inner function of the JavaScript which is not available in the global scope and due to that you are getting the error message.If you still want to implement the same, you can modify your code like:

Hi chinnari,1) Make sure you have given proper reference of your JS file inside aspx [Eg. <script src="JavaScript1.js"></script>].2) Make sure if any element/control present inside function SizeContainers() which belongs to aspx. Then its id must be equal to id what you have defined in the aspx, for this just "View Source" on a aspx and find your elements exact id.3) Make sure you don't have any variable defined with same name as "SizeContainers" in javascript as well as clientScript registered on .cs page.Hope it helps.Regards,Shashikant Guravshashikantgurav22@gmail.com