I get an error: Uncaught TypeError: Object #<an Object> has no method 'addEvents' - ext-all-debug-21347

which is from the Java script form the below code

var store = Ext.data.Store({

    // Load data at once

    autoLoad: true,


    // Override default http proxy settings

    proxy: new Ext.data.HttpProxy({

        // Call web service method using GET syntax

        url: "Test.asmx/GetData"               

        })// End of prxy

Could someone give directions of where i am going wrong