Saturday, January 31, 2009

Maximizing a customized form in Microsoft CRM

Sometimes it's desirable to maximize your CRM customized form so more screen is visible for your custom form/IFrame.

You can do this by placing the following script in the OnLoad event of the CRM customized form:
OnLoad()
{
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
}

No comments: