November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
...or whatever the path to the system.js file is. I have no EPi-installation in reach right now. Anyway, this worked for me.
Regards,
/Marten
if (!Page.IsClientScriptBlockRegistered("system.js"))
{
RegisterClientScriptBlock("system.js", "");
}
As you should with all url's in EPiServer.
/HAXEN
RegisterScriptFile("util/javascript/system.js");
And then I found something here at this forum, something that sounded kind of like my problems. And someone said that this line should be inserted into the aspx-file:if (!Page.IsClientScriptBlockRegistered("system.js")) { RegisterClientScriptBlock("system.js", ""); }
So I replaced the RegisterScriptFile-line with the if-lines, and my problems were cut in half. I could expand the tree, but I couldn’t read the posted discussions, when trying nothing would happen. I continued with the development in Firefox, thinking that I would deal with these IE-problems later. And a few days later I was thinking about this problem again, with no ideas what to do. I took back the RegisterScriptFile-line again, compiled and looked for any changes, but I didn’t get any wanted effects, so I returned to the if-lines and all of a sudden I discovered that it worked also in IE – just like that! All of a sudden and out of the blue, the page worked fine in IE too. But I haven’t got a clue why, and what did it. Happy, I finished the development and sent everything to production… Only to discover that all of a sudden, these former problems and errors are back again!!! This time in production, and since it just worked out of the blue while developing it, I simply don’t know what to do to make it go away! Both errors are back, I can read the posted discussions, but I cannot expand the explorer tree. Please, can anyone help me?!