Greetings,
I have a Website running correctly with IE7-Mozilla but i just noticed there is a problem when i turn Internet Explorer compatibility on ( little icon on the IE adress bar ).
The errors occur only when i open a RadWindow
Basically i do it that way :
I don't know if it might help but Inside Creation_Incident_Details.aspx i have this:
The errors i get are the following ones:
Erreur d'exécution Microsoft JScript: DOM Exception: INVALID_CHARACTER_ERR (5)
On this line ( in ScriptResource.axd)
Unable to set property "name" value : object null or undefined
line
And various other errors on these lines :
m.style.width="100%";
m.style.height="100%";
m.style.border="0px";
m.frameBorder="0";
if($telerik.isIE8){m.style.display="block";
}this._iframe=m;
this._contentCell.appendChild(this._iframe);
Can anyone know how to fix this ?
Thanks in advance
I have a Website running correctly with IE7-Mozilla but i just noticed there is a problem when i turn Internet Explorer compatibility on ( little icon on the IE adress bar ).
The errors occur only when i open a RadWindow
Basically i do it that way :
function
openRadWin(idFamille) {
radopen(
"Creation_Incident_Details.aspx?id="
+ idFamille,
"RadWindow1"
);
}
<
asp:ImageButton
runat
=
"server"
ID
=
"IMGBTHextranet"
ImageUrl
=
"../Logos/EXTRANET.jpg"
Width
=
"160"
Height
=
"80"
OnClientClick
=
"openRadWin(); return false;"
/>
I don't know if it might help but Inside Creation_Incident_Details.aspx i have this:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Creation_Incident_Details.aspx.cs"
Inherits="Extranet_Incident.Creation_Incidents.Creation_Incident_Details" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
>
<
head
>
<
title
></
title
>
<!-- custom head section -->
<
link
href
=
"../Test/styles/Styles.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
script
type
=
"text/javascript"
>
function OnRequestStart(target, arguments) {
if (arguments.get_eventTarget().indexOf("ButtonSend") > -1) {
arguments.set_enableAjax(false);
}
}
</
script
>
</
head
>
<
body
>
<
form
runat
=
"server"
id
=
"Form1"
method
=
"post"
enctype
=
"multipart/form-data"
>
<
div
id
=
"formulaire"
>
<
table
cellpadding
=
"1"
>
<
tr
>
<
td
>
<
asp:label
id
=
"lblTitre"
runat
=
"server"
text
=
"Titre"
></
asp:label
>
</
td
>
<
td
>
<
telerik:RadTextBox
ID
=
"txtTitre"
runat
=
"server"
>
</
telerik:RadTextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:label
id
=
"lblCategorie"
runat
=
"server"
text
=
"Categorie"
></
asp:label
>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cbCategorie"
runat
=
"server"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:label
id
=
"lblSousCategorie"
runat
=
"server"
text
=
"Sous Categorie"
></
asp:label
>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cbSousCategorie"
runat
=
"server"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:label
id
=
"lblProjet"
runat
=
"server"
text
=
"Projet"
></
asp:label
>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cbProjet"
runat
=
"server"
DataTextField
=
"nomProjet"
DataValueField
=
"idProjet"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:label
id
=
"lblDescription"
runat
=
"server"
text
=
"Description"
></
asp:label
>
</
td
>
<
td
>
<
telerik:RadTextBox
ID
=
"txtDescription"
runat
=
"server"
TextMode
=
"MultiLine"
Width
=
"300"
Height
=
"100"
>
</
telerik:RadTextBox
>
</
td
>
</
tr
>
</
table
>
<
br
/>
<
asp:button
id
=
"Button1"
runat
=
"server"
text
=
"Soumettre ce ticket"
/>
<
br
/>
<
br
/>
<
asp:hiddenfield
runat
=
"server"
id
=
"HiddenFieldIdContact"
/>
</
div
>
<%-- <
telerik:Header
runat
=
"server"
ID
=
"Header1"
NavigationLanguage
=
"C#"
></
telerik:Header
>--%>
<!-- content start -->
<
telerik:RadScriptManager
ID
=
"RadScriptManager2"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
Style
=
"float: left;"
ClientEvents-OnRequestStart
=
"OnRequestStart"
LoadingPanelID
=
"LoadingPanel1"
>
<
div
class
=
"uploadPanel"
>
<
div
class
=
"leftPanel"
>
<%-- <
div
class
=
"controls first"
>
<
asp:Label
ID
=
"Label1"
runat
=
"server"
Text
=
"Nick: "
></
asp:Label
>
<
asp:TextBox
ID
=
"NickTextBox"
runat
=
"server"
></
asp:TextBox
>
</
div
>--%>
<
div
class
=
"controls"
>
<
asp:label
id
=
"Label2"
runat
=
"server"
text
=
"File(s): "
></
asp:label
>
<
telerik:RadUpload
ID
=
"RadUpload1"
runat
=
"server"
MaxFileInputsCount
=
"2"
OverwriteExistingFiles
=
"false"
ControlObjectsVisibility
=
"RemoveButtons"
>
</
telerik:RadUpload
>
<
asp:button
id
=
"ButtonSend"
onclick
=
"ButtonSend_Click"
runat
=
"server"
text
=
"Save"
cssclass
=
"button"
></
asp:button
>
</
div
>
</
div
>
<
div
class
=
"rightPanel"
>
<
div
id
=
"UploadedFileLog"
runat
=
"server"
>
No uploaded files yet.</
div
>
</
div
>
</
div
>
</
telerik:RadAjaxPanel
>
<
telerik:RadAjaxLoadingPanel
ID
=
"LoadingPanel1"
runat
=
"server"
InitialDelayTime
=
"0"
/>
<!-- content end -->
<%-- <
telerik:Footer
runat
=
"server"
ID
=
"Footer1"
AdditionalCodeViewerFiles
=
"~/Ajax/Examples/Common/FileUpload/ExampleFiles/Styles.css"
></
telerik:Footer
>--%>
</
form
>
</
body
>
</
html
>
The errors i get are the following ones:
Erreur d'exécution Microsoft JScript: DOM Exception: INVALID_CHARACTER_ERR (5)
On this line ( in ScriptResource.axd)
}}else{var m=($telerik.isIE)?document.createElement("<
iframe
name
=
'"+a+"'
>"):document.createElement("iframe");
Unable to set property "name" value : object null or undefined
line
m.name = a
And various other errors on these lines :
m.style.width="100%";
m.style.height="100%";
m.style.border="0px";
m.frameBorder="0";
if($telerik.isIE8){m.style.display="block";
}this._iframe=m;
this._contentCell.appendChild(this._iframe);
Can anyone know how to fix this ?
Thanks in advance