Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Error is
Uncaught ReferenceError: treeview is not defined

i call code behind method from javascript using ajaxpro dll
that method contain 2 parameter
i.e. code behind method is like this
C#
public void Fill_ACC(TreeNode Node, string comp_id)
    {
    }



and .aspx page method is like this
C#
function treeview(strNode,comid)
{
    alert(MIS_frmaccountmapping.Fill_ACC(strNode,comid));
}



using debugger at .aspx page when i check value of 2 parameter is
strNode=System.Web.UI.WebControls.TreeNode
comid=CM000005

so i got this error
Uncaught ReferenceError: treeview is not defined
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900