locked
CRM 2011 - how to call javascript (in a webresource) from a dialog and pass values to the js function in a webresource RRS feed

  • Question

  • CRM 2011 development question - how to call javascript (in a webresource) from a dialog and pass values to the js function in a webresource.

    I have a dialog that takes user input, I want it to call a javascript function (residing in a webresource) and also want to pass values entered by the user to the javascript function.

    is there any supported way of doing it ? or if someone can tell me a clean workaround .

     

    thanks

    S.Khan

    Thursday, January 20, 2011 12:00 AM

Answers

  • I have found a workaround, I ended up injecting html code with javascript in it through HTTP Module registered in IIS.

    the onload and button functions were overridden by the injected javascript.

    regards,

     

    Sunday, March 6, 2011 10:38 PM

All replies

  • Friday, February 11, 2011 3:56 PM
  • Hi,

    thanks for the reply, but I want to call the javascript function (residing in CRM 2011 Web Resource ) and pass the values entered by the user to the javascript function for further processing.

    Is there a supported way of doing that?

    Thanks

    Sanaullah Khan

    Friday, February 18, 2011 6:27 AM
  • I have found a workaround, I ended up injecting html code with javascript in it through HTTP Module registered in IIS.

    the onload and button functions were overridden by the injected javascript.

    regards,

     

    Sunday, March 6, 2011 10:38 PM