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

[Solved] Configuring the Paragraph dropdown

3 Answers 197 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mark Davis
Top achievements
Rank 1
Mark Davis asked on 07 Dec 2007, 03:41 AM
I have the following configuration in my .ASCX file, but the paragraph dropdown is blank. Also, what tag value should I use for "Normal"?

        ...
        <Paragraphs>
          <telerik:EditorParagraph Title="Normal" Tag="<BODY>" />
          <telerik:EditorParagraph Title="Heading 3" Tag="<H3>" />
        </Paragraphs>
        <Tools>
          <telerik:EditorToolGroup Tag="Main">
            ...
            <telerik:EditorTool Name="FormatBlock" />
            ...

Thanks!

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 07 Dec 2007, 11:32 AM
Hi Mark,

Please accept our sincere apologies for the inconvenience. This problem is already logged it in our to-do list and we will do our best to fix it as soon as possible.

In the meantime, you can fix the problem on your side by replacing the Tag and Title values with each other e.g.


<
Paragraphs> 

                <telerik:EditorParagraph Tag="Headline 1" Title="<H1>" />    

                <telerik:EditorParagraph Tag="Headline 2" Title="<H2>" />    

</Paragraphs>   



I hope this helps.


Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mark Davis
Top achievements
Rank 1
answered on 07 Dec 2007, 08:28 PM
Thanks - that works great. BTW, if you only have one or two items in the Paragraph dropdown, you will get extra space in the dropdown since it's height is set to 200px. I used the following CSS to fix this:

DIV.rade_dropDownBody
{
  height: auto !important;
  overflow: visible;
}
0
Rumen
Telerik team
answered on 09 Dec 2007, 01:20 PM
Hi Mark,

You can also control the dropdown size by using the popupwidth, popupheight and width attributes of the telerik:EditorTool inner tag, e.g.

 <telerik:RadEditor ID="RadEditor1" runat="server">
    <Paragraphs>
        <telerik:EditorParagraph Tag="Headline 1" Title="<H1>" />   
        <telerik:EditorParagraph Tag="Headline 2" Title="<H2>" />   
    </Paragraphs>  
    <Tools>
       <telerik:EditorToolGroup>
           <telerik:EditorTool Name="FormatBlock" popupwidth="70px" popupheight="60px" width="60px" />
       </telerik:EditorToolGroup>
   </Tools>
</telerik:RadEditor>

You can find more information in the following help article: Controls > RadEditor > DropDowns > Resizing The Dropdown Header And Pop .


All the best,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Mark Davis
Top achievements
Rank 1
Answers by
George
Telerik team
Mark Davis
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or