i created a button on a crm form' now when i click on it a i want to send some info to a function that been wrote in a c# and to do some calc by it, my q is how to use this func from crm onclick
+2
A:
The simple answer is; you can't do what you ask. At least, not directly. You need to wrap your C# function in a web service and call the web service from the CRM form/button using JavaScript.
This blog post (an others on this site) could help you get started:
http://nishantrana.wordpress.com/2007/10/18/calling-aspnet-webservice-from-javascript-ajax/
ABC123
2010-08-20 10:20:51