I get this error:
Uncaught TypeError: Object #<Interact> has no method 'getmyData'
the problem is that it's true!
'Interact' has no method 'getmyData' it's 'myhandler' that contains it.
it's not supposed to go look for it in 'Interact' in first place but in 'myhandler' !
I have no clue why its acting like this because everything was working fine and suddenly i get this error!
Some code:
myHandler.ashx :
<%@ WebHandler Language="C#" Class="myHandler" %>
...
public class myHandler : JsonRpcHandler, IRequiresSessionState
{
[JsonRpcMethod()]
public string getmyData()
{
..
}
i call it in my script:
var obj = new myHandler();
...
listeners: {
selectionchange: function (model, records) {
myStore.loadData(Ext.decode(obj.getmyData()));
}
Let me know if u need more details!