It seems the following code can solve the problem...
But can I be shure that there are no other undiscovered problems?
- var browserType = Request.Browser.Browser.Equals("IE") ? "IE_Loader" : "Gecko_Loader";
- var jsUrl = string.Format("../CuteSoft_Client/CuteEditor/Scripts/{0}/Loader.js", browserType);
-
- var js = new HtmlGenericControl("script");
- js.Attributes["type"] = "text/javascript";
- js.Attributes["src"] = jsUrl;
- Page.Header.Controls.Add(js);
Greetings empty
PS: We support FireFox and IE only.
edit: Code is in Page_Load()