gromul
asked on
ASP.NET 'contentWindow.document is null' error
Does anyone know more about this error and maybe how to fix it? It happens when I call button click from javascript: Form1.button1.click();
Thanks
Thanks
ASKER
I tried that but get an error message that the contentWindow is undefined. How do I define it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It says that contentWindow is undefined also. What I don't understand is: what's the relationship between calling the button click and contentWindow?
ASKER
Thanks venkateshwarr.
do the check
if (contentWindow.document)
{
}