Radspell Skin is not set

3 posts, 0 answers
  1. Swetha
    Swetha  avatar
    2 posts
    Member since:
    Mar 2013

    Posted 19 Sep 2013 Link to this post

    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. Marin Bratanov
    Marin Bratanov avatar
    4433 posts

    Posted 20 Sep 2013 Link to this post

    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.


    - 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).

    Marin Bratanov
    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.
  3. Swetha
    Swetha  avatar
    2 posts
    Member since:
    Mar 2013

    Posted 20 Sep 2013 Link to this post

    Thanks. It worked.
Back to Top