revanishwar - Monday, May 25, 2009 2:18 AM:
I have already writien one method. Now I want to call this method....!
This method should be called when I clicked on any command button.
I already called this method on field event i.e. Click.. But I is not working ...!
So How I call this call this method on any field event.....!
Thank you.....
tstickel - Monday, May 25, 2009 2:48 PM:
I assume that you wrote the method in Javascript and that you set-up the onClick field event on the appropriate Form definition.
After checking the above steps, you must either logoff Innovator and log back on to ensure you are using the latest definition of the Form (or easier: go to Tools on the main Innovator tool bar and select Admin and then Clear Client Form Cache). If you do not do this, then Innovator will continue to run with the previous definition of the Form.
If that doesn't fix the problem then I would add a "debugger;" statement at the beginning of your method. That would invoke the Windows script debugger when the method is called.
revanishwar - Tuesday, May 26, 2009 1:44 AM:
Thank you !
for the quick response for my problem...! My Problem is solved now....
But If I want to call the method that written into C# language. Then what is procedure for calling the method that written into other than javascript language.
Thank you,
gkhn.topcu - Tuesday, December 6, 2011 6:32 AM:
I have the same problem.I can't call server method on button click ( Field Event).if is it possible what is the procedure for calling server event on button click.
Sachin - Tuesday, December 6, 2011 10:18 PM:
Hello,
You can't call server side methods directly from a button.
You need to call a Client Side method and then call the server side method as a Generic Method from the Client method.
See the Programmers handbook for generic methods.
Regards,
Sachin
gkhn.topcu - Wednesday, December 7, 2011 7:34 AM:
Thanks for reply. I found syntax that calling server event in js is item.applyMethod("methodname",body)
**Btw sorry for my english..