locked
CRM 2011 : UR 13 : Silverlight Bug RRS feed

  • General discussion

  • Hello,

    I had silverlight component placed on my opportunity entity form. for which it has been configured to acquire full space on form and it was quite working fine upto UR12. upon updating my CRM to UR13 it is not been resizing automatically. I have tried with several fixes in code while SL component resizes but no luck. do you guys have idea and workaround to this issue ?


    Thanks and regards,
    Hiren Solanki.
    Please vote or mark as a answer if it helped you.

    Friday, July 19, 2013 7:29 AM

All replies

  • Hello,

    I had the same behavior a few weeks ago, and finish by using a not really supported approche but it works:

    function resizeWebResource(wrName, size) {
    	/// <param name="wrName">Name of WebResource, if typeof Silverlight the name should be 'WebResource_YOURFIELDNAME_object'</param>
    	/// <param name="size">Attempt CSS width, if null will be set to 100%</param>
    	var wr = document.getElementById(wrName);
    	if (wr != null)
    		wr.style.width = size || '100%';
    }

    Hope this we help you !


    Friday, July 19, 2013 8:39 AM
  • Thank you for your suggestion.

    This can be a last option as we frequently updates a CRM and it might break in forthcoming version. Any supported way would be appreciated.


    Thanks and regards,
    Hiren Solanki.
    Please vote or mark as a answer if it helped you.

    Friday, July 19, 2013 10:31 AM