
Hi I am facing an issue in CRM 2011.I have added 3 Button on Ribbon in CRM 2011 through Pragma Tool Kit.
My requirement is hide two button On Page Load means 2 button will not show when page load.
I hide button through JavaScript and it working fine but problem is when page load CRM will show All buttons and after 5 second render JavaScript and all buttons Hide.
I want CRM will not show all button when page all.
*This post is locked for comments
I have the same question (0)It is true that the CRM2011 form load times are slower than CRM4 - so I don't think you'll get the same performance on the same hardware.
1. The onload event fires once the form has completed loading, so I suspect that this 2 second delay is the time that the form takes to render - do you have a very complex form with lots of fields, tabs & sub-grids?
2. Another thing to check is that you caching any webresources that you are using correctly. (www.develop1.net/.../CRM-Developer-e28098Must-Knowe28099-2-Web-Resource-Caching.aspx)
3. If you form onload script is making any requests to the OrganizationService/REST service then this may also be the source of the delay.
The best way to find out what's going on is to use F12 in Internet Explorer 9 - and use the Script & Network Profiling tabs - this will show you how long scripts take and how long any requests are taking. Once you understand where the 2 second wait is coming from we can work from there.