Mar 27, 2012, 12:31 PM
[CLOSED] Uncaught TypeError: Object #<Object> has no method '***'
Hi,
I try to add DirectMethod to my GridPanel.I get following error.
Where am i wrong.
Error :Uncaught TypeError: Object #<Object> has no method 'Reject'
I try to add DirectMethod to my GridPanel.I get following error.
Where am i wrong.
Error :Uncaught TypeError: Object #<Object> has no method 'Reject'
public partial class UserPanelState
{
*****other codes*****
[DirectMethod]
public void Reject()
{
Ext.Net.X.Js.Alert("Çok şükür :)");
wirelessClient = new WirelessServiceClient();
userByStateRequest = new GetUserByStateRequest();
userByStateResponse = new GetUserByStateResponse();
}
*********
}
public partial class UserPanelState
{
******other codes******
gridPanelWithButton.Listeners.Command.Handler = "Ext.net.DirectMethods.Reject();";
*********
}
TIA!
Last edited by Daniil; Apr 02, 2012 at 8:59 PM.
Reason: [CLOSED]