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

Help changing font size of Spell Check

2 Answers 75 Views
Spell
This is a migrated thread and some comments may be shown as answers.
ChuckRock
Top achievements
Rank 1
ChuckRock asked on 15 Sep 2011, 05:16 PM
Hi,

I've looked thru the forums, and can't seem to find an answer to my question so here goes:

I have a Spell Check button on my web page, but my clients are complaining that the fonts are too small.  How is the easiest way to enlarge the fonts for the spell check find and replace dialog box?  Below is the code I use to implement:


In the vb.net we set the fields to check spelling...
        Dim aar As Array = Split(ss, ",")
        RadSpellCheck.ControlsToCheck = aar


In the asp.net
 <script type="text/javascript">
   function OnClientLoadx(spell)
   {
      spell.set_useClassicDialogs(true);
   }   
</script>   
<telerik:RadSpell ID="RadSpellCheck" runat="server" AllowAddCustom="False" OnClientLoad="OnClientLoadx"/>

Thanks in advance for your assistance on this!!

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 16 Sep 2011, 01:59 PM
Hello Chuckrock,

To increase the font size in the RadSpell dialog put the following classes

#dialogControl_Suggestions, .RadSpell .RichTextView, .RadSpell textarea  { font-size: 18px; }

in a CSS file and load the file through the DialogsCssFile property of RadSpell

<telerik:RadSpell ID="RadSpellCheck" runat="server" AllowAddCustom="False" OnClientLoad="OnClientLoadx" ControlToCheck="Textbox1" DialogsCssFile="style.css"/>


Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
0
ChuckRock
Top achievements
Rank 1
answered on 16 Sep 2011, 02:45 PM
That worked beautifully, Thanks so much for your quick assistance!
Tags
Spell
Asked by
ChuckRock
Top achievements
Rank 1
Answers by
Rumen
Telerik team
ChuckRock
Top achievements
Rank 1
Share this question
or