I'm not sure if this is the right forum for this, (I posted this also in the Config / Deploy forum) but can anyone tell me why I often get a "Can not init Button", "Can not init Tab", "Can Not init Grid" java scritp error message?
Often I get the little "warning" error message in the bottom left corner of IE. If I double click the yellow "yield sign" I'll get a message that tells me basically that at Char N Line X can not init control. Then the browser window stops responding to all javascrip, I can't click a button, double click a grid view row, etc.
When viewing the source of the page, I see the javascript Try/Catches and the error message, but I still don't know what is causing it.
Has anyone seen this before, any ideas on what could cause it and what I can do to fix it.
Thanks
-- Joe --
I tried to reproduce your issue in various scenarios but it seemed to work ok. I would probably need a small sample with the necessary parts that reproduce to tell you exactly what is going on.
the weather.com script does work ok when the page loads, but has issues on post backs since it is also in the ajax update panel. I removed it for now since it was not a requirement for what I was doing. Maybe as the WebResource.axd file was being created it ran into a problem locating this script and thus didn't complete and inclue the infragistics scripts????
I am assuming that the weather.com script has some sort of error and is leading to ours not being read correctly?
After checked the IIS settings and webconfig. I was at a loss. Then I remembered that a couple days ago I added a script from weather.com that provides a weather widget into my master page. For some reason this javascript was causing the issue. I took it out and things work fine again. This was the script that caused the issue. Strange.
Did you try any of the suggestions in the first response on page 1?
Essentially this error occurs because it cannot find the script files. If you upgraded from CLR 1, then it is most likely because you have the JavaScriptFileName properties set on the controls. The easiest way to check is to look at the rendered markup by doing a view source on the page and finding where the page is trying to load the scripts from. If you see direct links to javascript files, make sure those files are there. If you see webresouce.axd for the script tags then make sure your iis has the setting for the axd extension. You should be able to fine more detail on this in the thread.
If you still have issues, let me know what you have tried and any other information you think is pertinent.