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

Radspell Skin is not set

2 Answers 15 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Swetha
Top achievements
Rank 1
Swetha asked on 19 Sep 2013, 12:20 PM
Hi ,

How to set the skin to the RadSpell Button.

<telerik:RadSpell id="RadSpell1" ControlToCheck="TextBox1" Skin="WebBlue" Runat="server"></telerik:RadSpell> 

Here the skin is applied only to the RadSpell dialog box, but i also want the skin to be applied to Button as well.

Can any one help me,

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 20 Sep 2013, 09:58 AM
Hello Swetha,

The button RadSpell renders is a regular button or anchor (depending on the ButtonType property). Since it is not a Telerik control it cannot be skinned directly.

What I can suggest is going with one of these options:
- use a RadFormDecorator to style such elements on the page: http://demos.telerik.com/aspnet-ajax/formdecorator/examples/overview/defaultcs.aspx.

OR

- hide the built-in button, add a RadButton and in its OnClientClicked event (note - AutoPostBack should be false) invoke the spellcheck through the client-side API of RadSpell: http://www.telerik.com/help/aspnet-ajax/spell-client-side-api.html (see the startSpellCheck() method).


Regards,
Marin Bratanov
Telerik
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 the blog feed now.
0
Swetha
Top achievements
Rank 1
answered on 20 Sep 2013, 12:05 PM
Thanks. It worked.
Tags
Spell
Asked by
Swetha
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Swetha
Top achievements
Rank 1
Share this question
or