javascript events - Dynamics CRM 2011 - opening custom activity from main grid opens "new record" window instead -


i have custom activity entity named "slfn_technischonderhoud" setup not appear in activity menus. have 1 record of in development environment. whenever try open record main.aspx grid, redirects me "new record" form. happens when opening main.aspx grid. when opening embedded subgrid on related entity, opens right record.

i have javascript function (open "new record" form in new window). there way function somehow got assigned doubleclick event on main.aspx grid? , there way unbind this?

did try create web resource , add custom entity form , use javascript , jquery way:

$( document ).ready(function() {   // insert code here add event main.aspx grid.   // code loaded outside form suppose. }); 

note: strategy not supported microsoft dynamics crm. suggest use onload form event subgrid.

you can unbind removing onclick event or supress them way:

/*normal browser:*/ event.stoppropagation();  /*for ie:*/ window.event.cancelbubble = true; 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -