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

Table Properties Input Fields

2 Answers 37 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dan Ehrmann
Top achievements
Rank 1
Dan Ehrmann asked on 21 May 2012, 05:42 PM
The input fields for the table width and height are too small to show 3-digit numbers comfortably. I would like to make them bigger. I can't figure out where to put a style or a little script to execute to make the change.

I know I can do this by creating a custom skin, but I really don't want to go that far.

Please let me know if there is a simple way to do this.

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 May 2012, 12:08 PM
Hello,

You can create a CSS file with the following classes in it

dialog.css
table.reSpinBox {
    width: 50px;
}
div.reToolWrapper table.reSpinBox input.radfd_skipme
{
    width: 30px;
}


and load it through the DialogsCssFiles property of RadEditor:

<telerik:RadEditor ID="RadEditor1" runat="server" DialogsCssFile="dialog.css">
    <Content>text</Content>
</telerik:RadEditor>

This should increase the width of the spinbox controls in the dialogs.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Dan Ehrmann
Top achievements
Rank 1
answered on 22 May 2012, 04:51 PM
Thanx - that worked, with one little wrinkle. I had to set the property programmatically, like this

editor.DialogsCssFile = "~/css/dialog.css";

I found that the "~/" was required, even though the path "css/dialog.css" was correct
Tags
Editor
Asked by
Dan Ehrmann
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Dan Ehrmann
Top achievements
Rank 1
Share this question
or