Help changing font size of Spell Check

3 posts, 1 answers
  1. ChuckRock
    ChuckRock avatar
    38 posts
    Member since:
    Jul 2006

    Posted 15 Sep 2011 Link to this post

    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. Answer
    Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 16 Sep 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ChuckRock
    ChuckRock avatar
    38 posts
    Member since:
    Jul 2006

    Posted 16 Sep 2011 Link to this post

    That worked beautifully, Thanks so much for your quick assistance!
Back to Top