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

CSS in Custom Dialog

2 Answers 149 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Recursor
Top achievements
Rank 1
Recursor asked on 05 Mar 2008, 12:11 AM
Hello,
I'm using the prometheus radeditor and have created a custom dialog usercontrol to go with it which has been added to the toolbar.  The only problem is, I don't know how to go about applying my css (residing in external files) to this dialog since there's no <head> to put them in.  Any suggestions?
Thanks!
David

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 05 Mar 2008, 02:20 PM
Hi David,

It is not mandatory to put the <link href="../../../Editor/Examples/CustomDialogs/StyleSheet.css" rel="stylesheet"
    type="text/css" /> tag in HEAD tags. You can put the LINK tag in the ASCX control file too. For your convenience I have attached a video demonstrating how to import the styles from an external CSS file in an editor's custom ascx dialog with a LINK tag.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Recursor
Top achievements
Rank 1
answered on 05 Mar 2008, 08:45 PM
I figured it had to be something simple!
Thanks,
David
Tags
Editor
Asked by
Recursor
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Recursor
Top achievements
Rank 1
Share this question
or