-
Book Overview & Buying
-
Table Of Contents
Microsoft Dynamics CRM 2011 Scripting Cookbook
By :
Handling specific events is something everybody expects from an application. While JavaScript has its own event handling model, working with Dynamics CRM offers a different set of events that we can take advantage of.
The JavaScript event model, while it might work, is not supported, and definitely not the approach you want to take when working within the context of Dynamics CRM.
Some of the most notable events and their counterparts in JavaScript are described in the following table:
|
Dynamics CRM 2011 |
JavaScript |
Description |
|---|---|---|
|
|
|
This is a form event. Executes when a form is loaded. Most common use is to filter and hide elements on the form. |
|
|
|
This is a form event. It executes when a form is saved. Most common use is to stop an operation from executing, as a result of a failed validation procedure. |
|
|
n/a |
This is a form event. It executes when the |
|
|
|
This... |
Change the font size
Change margin width
Change background colour