Custom Themes...

9 posts, 0 answers
  1. Peter From LA
    Peter From LA avatar
    35 posts
    Member since:
    May 2005

    Posted 28 Feb 2008 Link to this post

    Does 'Spell' support custom themes?

    The skin css file is linked to the page and my code behind looks like this:

    sfwSpell1.EnableEmbeddedSkins =

    false;
    sfwSpell1.Skin =
    "MySkin";

    ... but my spell checker looks like it is missing styles and then the page sourse looks like that:

    <span id="sfwSpell1dialogOpener" class=" " style="display:none;">
        
    <div id="sfwSpell1dialogOpener_Window" class=" " style="display:none;">
            
    <input id="sfwSpell1dialogOpener_Window_ClientState" name="sfwSpell1dialogOpener_Window_ClientState" type="hidden" />
        
    </div>
        
    <input id="sfwSpell1dialogOpener_ClientState" name="sfwSpell1dialogOpener_ClientState" type="hidden" />
    </span>

    Notice the empty class values !!!
    What am I missing?

  2. Martin
    Admin
    Martin avatar
    585 posts

    Posted 04 Mar 2008 Link to this post

    Hello Peter Kalev,

    After setting the EnableEmbeddedSkins="false" and Skin="MySkin", you need to register the stylesheet files manually in the <head>...</head> of your webpage, as these tags are not automatically generated:

    <link rel="stylesheet" type="text/css" href="Skins/MySkins/Spell.MySkin.css"></link>
    <link rel="stylesheet" originalAttribute="href" originalPath="Skins/MySkins/Spell.MySkin.css"></link>
    <link rel="stylesheet" type="text/css" href="Skins/Spell.css"></link>

    Please, let us know if you experience further difficulties setting the skin for RadSpell.

    Have a great week.

    Greetings,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter From LA
    Peter From LA avatar
    35 posts
    Member since:
    May 2005

    Posted 04 Mar 2008 Link to this post

    Hi Martin,

    My page did include a manually added reference to the correct style sheets...

    But even if that was not the case, it would not have been the reason for having " " as values for the classes (look above).

    So, we are back at square one - custom skins do not work for me...  :(
  5. Martin
    Admin
    Martin avatar
    585 posts

    Posted 06 Mar 2008 Link to this post

    Hello Peter Kalev,

    Could you, please, send us a small running project, along with your custom skin and we will try to set it up for you?

    Regards,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Sean Kelleher
    Sean Kelleher avatar
    4 posts
    Member since:
    May 2006

    Posted 13 Mar 2008 Link to this post

    Same issue here.

    I am using an ASP.NET Theme.  I am currently using a custom skin for the RadWindow and it works fine.  When I follow the exact same setup for Spell, it does not use my custom skin. 

    Here's my structure:

    App_Themes\OliveTheme\Spell.Olive.css
        .RadSpell_Olive
    {
        width:460px;
        height:303px;
        background:url(Spell/spellWinBack.gif) 0 0 repeat-x #fff;
        padding:0;
        margin: 0;
    }
    etc......

    App_Themes\OliveTheme\Spell    <---- images


    On my page:

    <telerik:RadSpell Skin="Olive"  EnableEmbeddedSkins="false"  ControlToCheck="txtBio"  ID="spell1" Runat="server"  ButtonType="None" />


  7. Martin
    Martin avatar
    1 posts
    Member since:
    Feb 2005

    Posted 13 Mar 2008 Link to this post

    I'm hitting the same problem trying to build a custom skin for RadSpell.

    It looks like EnableEmbeddedSkins="false" doesn't have any effect. If you set the property to false and change the skin property to "Vista" or "Outlook2007" it still picks up the embedded skins.
  8. Martin
    Admin
    Martin avatar
    585 posts

    Posted 17 Mar 2008 Link to this post

    Hi Phil Worthington,

    Unfortunately, RadSpell Prometheus does not support custom skins yet. We are currently thinking of implementing such functionality, but still we can't tell when we will offer it.

    Sincerely yours,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Peter From LA
    Peter From LA avatar
    35 posts
    Member since:
    May 2005

    Posted 17 Mar 2008 Link to this post

    That begs the question, why wasn't this your first answer instead of 'try this, then try that'...
  10. Martin
    Admin
    Martin avatar
    585 posts

    Posted 18 Mar 2008 Link to this post

    Hi Peter Kalev,

    It seems that in the beginning there was a sort of misunderstaning. We are sorry for that.

    Best wishes,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017