This is a migrated thread and some comments may be shown as answers.

[Solved] No formatting or tool bars

3 Answers 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Neil
Top achievements
Rank 1
Neil asked on 30 Jun 2011, 10:33 AM
Hi.

I have added an editor to an MVC project but I think I am missing a stylesheet or something.

The editor works but all of the actions such as Bold, Undeline etc.  are just normal links, I have no tool bar buttons etc.  I have followed the guide and included the stylesheets etc. but I have clearly missed something.

Has anyone else hit this same issue?  I suspect I am being dumb but I cannot see what I have missed.

Thanks,
Neil

3 Answers, 1 is accepted

Sort by
0
Neil
Top achievements
Rank 1
answered on 30 Jun 2011, 11:13 AM
I've created a new project using the telerik MVC Template and pasted the exact same code in and it works fine.  I have clearly missed a reference somewhere. In _Layout.cshtml I have StyleSheetRegistrar and ScriptRegistrar.

I'm completely stumped, the only thing that I haven't done anywhere, which may be the problem, is tell the application what theme to use.

Could that be it?
Neil
0
Accepted
Dimo
Telerik team
answered on 30 Jun 2011, 11:26 AM
Hello Neil,

Please direct your attention to point 5:

http://www.telerik.com/help/aspnet-mvc/getting-started-using-telerik-extensions-for-asp.net-mvc-in-your-project.html

Make sure that all required CSS files are added to the StyleSheetRegistrar declaration, and that the version number in the folder's name corresponds to the DLL version.

Check what CSS files are requested to the server.

If you are using compression or combining, add the required handler to the web.config.

http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javascript-web-assets.html

If you are using an internal build (not an official one), do not use the Telerik CDN.

Regards,
Dimo
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
Neil
Top achievements
Rank 1
answered on 30 Jun 2011, 12:10 PM
Thanks, I had done step 5 but I had left .Add("telerik.examples.css") in the StyleSheetRegistrar.  Because I had Combined set to true it wasn't telling me it couldn't find it.  As soon as I changed that to false it gave me an error.

Thank you for the help,
Neil
Tags
Editor
Asked by
Neil
Top achievements
Rank 1
Answers by
Neil
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or