Hello,
I experienced all kinds of javascript errors after configuring 2 RadEditors on an Aspx page where in the 2nd one the ToolProviderID was set (to the first) and also the ToolbarMode property was set.
First Error (more errors after that, but related to this) in
File: RadRibbonBarScripts.js
Line: this._groupContainer.css("visibility","hidden");
Error: Microsoft JScript runtime error: Object doesn't support property or method 'css'
Aspx error causing markup:
After you remove ToolBarMode="RibbonBar" from the second RadEditor, everything works again.
With regards,
Edit: Using 2011.3.1305.40
Yeroon
I experienced all kinds of javascript errors after configuring 2 RadEditors on an Aspx page where in the 2nd one the ToolProviderID was set (to the first) and also the ToolbarMode property was set.
First Error (more errors after that, but related to this) in
File: RadRibbonBarScripts.js
Line: this._groupContainer.css("visibility","hidden");
Error: Microsoft JScript runtime error: Object doesn't support property or method 'css'
Aspx error causing markup:
<
telerik:RadEditor
ID
=
"RadEditor2"
runat
=
"server"
ToolbarMode
=
"RibbonBar"
ToolsFile
=
"Tools.xml"
Width
=
"98%"
Height
=
"300"
OnClientLoad
=
"ResizeEditor"
Language
=
"nl-NL"
AutoResizeHeight
=
"False"
OnClientModeChange
=
"editorModeChanged"
LocalizationPath
=
"~/Resources/"
ExternalDialogsPath
=
"~/Resources/EditorDialogs/"
>
<
FontNames
>
<
telerik:EditorFont
runat
=
"server"
Value
=
"Verdana"
/>
</
FontNames
>
<
SpellCheckSettings
AllowAddCustom
=
"True"
DictionaryLanguage
=
"nl-NL"
></
SpellCheckSettings
>
<
MediaManager
UploadPaths
=
"~/Media/"
ViewPaths
=
"~/Media/"
DeletePaths
=
"~/Media/"
MaxUploadFileSize
=
"10240000"
></
MediaManager
>
<
ImageManager
UploadPaths
=
"~/Media/"
ViewPaths
=
"~/Media/"
DeletePaths
=
"~/Media/"
EnableImageEditor
=
"False"
MaxUploadFileSize
=
"10240000"
EnableThumbnailLinking
=
"True"
>
</
ImageManager
>
<
DocumentManager
ViewPaths
=
"~/Documents/"
UploadPaths
=
"~/Documents/"
DeletePaths
=
"~/Documents/"
/>
</
telerik:RadEditor
>
<
telerik:RadEditor
ID
=
"RadEditor1"
runat
=
"server"
ToolbarMode
=
"RibbonBar"
ToolProviderID
=
"RadEditor2"
Width
=
"98%"
Height
=
"500"
OnClientLoad
=
"ResizeEditor"
Language
=
"nl-NL"
AutoResizeHeight
=
"False"
OnClientModeChange
=
"editorModeChanged"
LocalizationPath
=
"~/Resources/"
ExternalDialogsPath
=
"~/Resources/EditorDialogs/"
>
<
FontNames
>
<
telerik:EditorFont
runat
=
"server"
Value
=
"Verdana"
/>
</
FontNames
>
<
SpellCheckSettings
AllowAddCustom
=
"True"
DictionaryLanguage
=
"nl-NL"
></
SpellCheckSettings
>
<
MediaManager
UploadPaths
=
"~/Media/"
ViewPaths
=
"~/Media/"
DeletePaths
=
"~/Media/"
MaxUploadFileSize
=
"10240000"
></
MediaManager
>
<
ImageManager
UploadPaths
=
"~/Media/"
ViewPaths
=
"~/Media/"
DeletePaths
=
"~/Media/"
EnableImageEditor
=
"False"
MaxUploadFileSize
=
"10240000"
EnableThumbnailLinking
=
"True"
>
</
ImageManager
>
<
DocumentManager
ViewPaths
=
"~/Documents/"
UploadPaths
=
"~/Documents/"
DeletePaths
=
"~/Documents/"
/>
</
telerik:RadEditor
>
After you remove ToolBarMode="RibbonBar" from the second RadEditor, everything works again.
With regards,
Edit: Using 2011.3.1305.40
Yeroon