locked
CRM 4.0 Handler Event List RRS feed

  • Question

  • Hi all,

    I am new to CRM 4.0 and would like to do some customization to it.

    Can anyone share on the following:

    1. How to add additional handlers for the event. So far there is only a default onChange shown in the eventlist, but no means to add other handlers.
    2. By default, there is only a maximum of 4 columns to be created for a section. Any way to create more columns?

    Please advise.

    Thanks.

    Thursday, November 4, 2010 8:42 AM

Answers

  • Hi

    You can attach what ever event you like to the controls on the form by extending the available functionality in CRM. You can use form onLoad Event to attach the attrbutes.

    An example of attaching an event "OnFocus" of an element here

    var refreshcountarea = document.getElementById("crmNavBar");
    // ensure counts for activities etc are up to date
    refreshcountarea.attachEvent("onfocusin", CheckCountsUpdated);  //CheckCountsUpdated is the function that gets called when the control receives the focusin

     

    More on attachEvent

    http://msdn.microsoft.com/en-us/library/ms536343%28VS.85%29.aspx


    Hope this helps. Amar

    CRM Forum Guidance on how to Help Us Help You

    Thursday, November 4, 2010 11:20 AM