Peter From LA
Top achievements
Rank 1
Peter From LA
asked on 28 Feb 2008, 06:54 PM
Does 'Spell' support custom themes?
The skin css file is linked to the page and my code behind looks like this:
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?
8 Answers, 1 is accepted
0
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
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
0
Peter From LA
Top achievements
Rank 1
answered on 04 Mar 2008, 09:30 PM
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... :(
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... :(
0
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
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
0
Sean Kelleher
Top achievements
Rank 1
answered on 13 Mar 2008, 04:02 PM
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" />
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" />
0
Martin
Top achievements
Rank 1
answered on 13 Mar 2008, 04:57 PM
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.
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.
0
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
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
0
Peter From LA
Top achievements
Rank 1
answered on 17 Mar 2008, 03:55 PM
That begs the question, why wasn't this your first answer instead of 'try this, then try that'...
0
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
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