This question is locked. New answers and comments are not allowed.
C5 Insight
Top achievements
Rank 1
C5 Insight
asked on 13 Sep 2011, 09:12 PM
I have a website with a telrik editor for MVC 3. This editor works fine if i hit the webpage straight from my browser. If i hist this page inside CRM it no longer renders the rich text and just shows plain text. I have noticed that a file gets created with all the css classes when i use the site straight in IE. This file does NOT get created while hosetd in CRM.
Anybody have ideas on what might be going on and how i can remedy this?
Anybody have ideas on what might be going on and how i can remedy this?
4 Answers, 1 is accepted
0
Hi Curtis,
From your description of the problem, it seems that the editor is not initialized. Please make sure that all required JavaScript files are loaded and that the editor initialization code has been executed.
The required JavaScript files are:
... and the initialization code should be something like this:
Kind regards,
Alex Gyoshev
the Telerik team
From your description of the problem, it seems that the editor is not initialized. Please make sure that all required JavaScript files are loaded and that the editor initialization code has been executed.
The required JavaScript files are:
- telerik.common.js
- telerik.list.js
- telerik.combobox.js
- telerik.draganddrop.js
- telerik.window.js
- telerik.editor.js
... and the initialization code should be something like this:
jQuery('#editor').tEditor();
Kind regards,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
C5 Insight
Top achievements
Rank 1
answered on 15 Sep 2011, 04:07 PM
Alex,
I do have those files and my stie works. It only fails when hosted insode an ifram in Dynamics CRM. Very specifically, it is notgerating the css file that has the classnames its looking for. So it works the exact same site if i accces the site directly it only fails if inside CRM. Text shows up, images shows up but font changes or anything needing a style does not.
I do have those files and my stie works. It only fails when hosted insode an ifram in Dynamics CRM. Very specifically, it is notgerating the css file that has the classnames its looking for. So it works the exact same site if i accces the site directly it only fails if inside CRM. Text shows up, images shows up but font changes or anything needing a style does not.
0
Accepted
Hi Curtis,
Tsvetomir Tsonev
the Telerik team
The Editor also needs the following stylesheets to be added to the page:.
* telerik.common.css
* telerik.[skin name].css, e.g. telerik.vista.css
This article on MSDN might be of help.
Note that IE has limits on how stylesheets can be loaded simultaneously. The limit is 32 stylesheets per page, but I doubt that you're exceeding this number.
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
C5 Insight
Top achievements
Rank 1
answered on 16 Sep 2011, 01:39 PM
Thank You so much. Because I am in Dynamics CRM and CRM is loading so many style sheets. I am in fact loading over 32 style sheets. I am working to condense. Thank you again.